]> granicus.if.org Git - json-c/commitdiff
fixe int32_t definition for VC11
authorAnatol Belski <ab@php.net>
Tue, 4 Jun 2013 18:17:12 +0000 (20:17 +0200)
committerAnatol Belski <ab@php.net>
Tue, 4 Jun 2013 18:17:12 +0000 (20:17 +0200)
int32_t is nowhere in msvc, so the version check could be even removed

json_inttypes.h

index 2f84adec653d2213de5aa295b44c15792da22988..bfe1060f0bde381274095ce7efa9cfe9dea7606d 100644 (file)
@@ -4,7 +4,7 @@
 
 #include "json_config.h"
 
-#if defined(_MSC_VER) && _MSC_VER < 1700
+#if defined(_MSC_VER) && _MSC_VER =< 1700
 
 /* Anything less than Visual Studio C++ 10 is missing stdint.h and inttypes.h */
 typedef __int32 int32_t;