Bump to 0.17
[platform/upstream/json-c.git] / json_inttypes.h
1
2 /**
3  * @file
4  * @brief Do not use, json-c internal, may be changed or removed at any time.
5  */
6 #ifndef _json_inttypes_h_
7 #define _json_inttypes_h_
8
9 #include "json_config.h"
10
11 #ifdef JSON_C_HAVE_INTTYPES_H
12 /* inttypes.h includes stdint.h */
13 #include <inttypes.h>
14
15 #else
16 #ifdef JSON_C_HAVE_STDINT_H
17 #include <stdint.h>
18 #else
19 /* Really only valid for old MS compilers, VS2008 and earlier: */
20 typedef __int32 int32_t;
21 typedef unsigned __int32 uint32_t;
22 typedef __int64 int64_t;
23 typedef unsigned __int64 uint64_t;
24 #endif
25
26 #define PRId64 "I64d"
27 #define SCNd64 "I64d"
28 #define PRIu64 "I64u"
29
30 #endif
31
32 #if defined(_MSC_VER)
33 #include <BaseTsd.h>
34 typedef SSIZE_T ssize_t;
35 #endif
36
37 #endif