libusb10: updated to 1.0.9
[tomato.git] / release / src / router / libjson-c / json_inttypes.h
blob9de8d246d9dda0ab82772fc9d97ec1a9b3ad2807
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)
16 #define PRId64 "I64d"
17 #define SCNd64 "I64d"
19 #else
21 #ifdef JSON_C_HAVE_INTTYPES_H
22 #include <inttypes.h>
23 #endif
24 /* inttypes.h includes stdint.h */
26 #endif
28 #endif