Merge pull request #2309 from jacquesg/midnightbsd

MidnightBSD may also not have strnlen
This commit is contained in:
Vicent Marti 2014-04-29 05:02:38 -07:00
commit 892778ee84

View File

@ -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