From: Eric Haszlakiewicz Date: Mon, 24 Jun 2013 00:12:14 +0000 (-0500) Subject: Fix the _MSC_VER check so it compiles on non-windows compilers. Issue#91 X-Git-Tag: json-c-0.12-20140410~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c62965660b10d76671116986189c2d5cbba5c0d9;p=thirdparty%2Fjson-c.git Fix the _MSC_VER check so it compiles on non-windows compilers. Issue#91 --- diff --git a/json_inttypes.h b/json_inttypes.h index bfe1060f..9de8d246 100644 --- a/json_inttypes.h +++ b/json_inttypes.h @@ -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;