summaryrefslogtreecommitdiff
path: root/src/common/strlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/strlib.h')
-rw-r--r--src/common/strlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/strlib.h b/src/common/strlib.h
index baaf244d7..bf26c2172 100644
--- a/src/common/strlib.h
+++ b/src/common/strlib.h
@@ -18,7 +18,7 @@ const char *stristr(const char *haystack, const char *needle);
char* _strtok_r(char* s1, const char* s2, char** lasts);
#endif
-#if !defined(WIN32) || (defined(_MSC_VER) && _MSC_VER < 1400)
+#if !(defined(WIN32) && defined(_MSC_VER) && _MSC_VER >= 1400)
size_t strnlen (const char* string, size_t maxlen);
#endif