2 #ifndef _json_inttypes_h_
3 #define _json_inttypes_h_
5 #include "json_config.h"
7 #if defined(_MSC_VER) && _MSC_VER <= 1700
9 /* Anything less than Visual Studio C++ 10 is missing stdint.h and inttypes.h */
10 typedef __int32
int32_t;
11 #define INT32_MIN ((int32_t)_I32_MIN)
12 #define INT32_MAX ((int32_t)_I32_MAX)
13 typedef __int64
int64_t;
14 #define INT64_MIN ((int64_t)_I64_MIN)
15 #define INT64_MAX ((int64_t)_I64_MAX)
21 #ifdef JSON_C_HAVE_INTTYPES_H
24 /* inttypes.h includes stdint.h */