Commit b8365f21 by Jacques Germishuys

strnlen() is only available from Visual Studio 2005+

parent 90c2b37f
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
#ifndef INCLUDE_strlen_h__ #ifndef INCLUDE_strlen_h__
#define INCLUDE_strlen_h__ #define INCLUDE_strlen_h__
#if defined(__MINGW32__) || defined(__sun) || defined(__APPLE__) || defined(__MidnightBSD__) #if defined(__MINGW32__) || defined(__sun) || defined(__APPLE__) || defined(__MidnightBSD__) ||\
(defined(_MSC_VER) && _MSC_VER < 1500)
# define NO_STRNLEN # define NO_STRNLEN
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment