Fix build warnings under MinGW
authorRogerz Zhang <rogerz.zhang@gmail.com>
Mon, 30 Apr 2012 14:32:25 +0000 (22:32 +0800)
committerRogerz Zhang <rogerz.zhang@gmail.com>
Tue, 1 May 2012 00:02:12 +0000 (08:02 +0800)
src/load.c

index 7acd3e7..d88a704 100644 (file)
@@ -447,7 +447,7 @@ out:
 }
 
 #if JSON_INTEGER_IS_LONG_LONG
-#ifdef _WIN32
+#ifdef _MSC_VER // Microsoft Visual Studio
 #define json_strtoint     _strtoi64
 #else
 #define json_strtoint     strtoll