mirror of
https://github.com/json-c/json-c.git
synced 2026-03-13 18:19:06 +08:00
Fix the _MSC_VER check so it compiles on non-windows compilers. Issue#91
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#include "json_config.h"
|
#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 */
|
/* Anything less than Visual Studio C++ 10 is missing stdint.h and inttypes.h */
|
||||||
typedef __int32 int32_t;
|
typedef __int32 int32_t;
|
||||||
|
|||||||
Reference in New Issue
Block a user