mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 06:51:09 +00:00
Merge pull request #2309 from jacquesg/midnightbsd
MidnightBSD may also not have strnlen
This commit is contained in:
commit
892778ee84
@ -7,7 +7,7 @@
|
||||
#ifndef INCLUDE_strlen_h__
|
||||
#define INCLUDE_strlen_h__
|
||||
|
||||
#if defined(__MINGW32__) || defined(__sun) || defined(__APPLE__)
|
||||
#if defined(__MINGW32__) || defined(__sun) || defined(__APPLE__) || defined(__MidnightBSD__)
|
||||
# define NO_STRNLEN
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user