diff options
Diffstat (limited to '3rdparty/json/json_tokener.c')
-rwxr-xr-x | 3rdparty/json/json_tokener.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/3rdparty/json/json_tokener.c b/3rdparty/json/json_tokener.c index ada0f9b..bc0e380 100755 --- a/3rdparty/json/json_tokener.c +++ b/3rdparty/json/json_tokener.c @@ -23,15 +23,13 @@ #include "json_object.h" #include "json_tokener.h" - -#if !HAVE_STRNCASECMP && defined(_MSC_VER) +#if HAVE_STRNCASECMP && defined(_MSC_VER) && !defined(__GNUC__) /* MSC has the version as _strnicmp */ # define strncasecmp _strnicmp #elif !HAVE_STRNCASECMP # error You do not have strncasecmp on your system. #endif /* HAVE_STRNCASECMP */ - static const char* json_null_str = "null"; static const char* json_true_str = "true"; static const char* json_false_str = "false"; |