diff options
author | Morten Sorvig <[email protected]> | 2009-10-06 10:06:01 +0200 |
---|---|---|
committer | Morten Sorvig <[email protected]> | 2009-10-06 10:06:01 +0200 |
commit | 4c709e1290a77739dc94c27475cd4e7cffcde739 (patch) | |
tree | 3b35ad97f6f0e1124f9d3eb9b6be7d4208444518 /3rdparty/json/json_tokener.c | |
parent | 2ea05c0d553217c9364129a51b97945e06578660 (diff) |
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"; |