summaryrefslogtreecommitdiffstats
path: root/comm/third_party/json-c/json_inttypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'comm/third_party/json-c/json_inttypes.h')
-rw-r--r--comm/third_party/json-c/json_inttypes.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/comm/third_party/json-c/json_inttypes.h b/comm/third_party/json-c/json_inttypes.h
new file mode 100644
index 0000000000..e047d4f18b
--- /dev/null
+++ b/comm/third_party/json-c/json_inttypes.h
@@ -0,0 +1,24 @@
+
+/**
+ * @file
+ * @brief Do not use, json-c internal, may be changed or removed at any time.
+ */
+#ifndef _json_inttypes_h_
+#define _json_inttypes_h_
+
+#include "json_config.h"
+
+#ifdef JSON_C_HAVE_INTTYPES_H
+/* inttypes.h includes stdint.h */
+#include <inttypes.h>
+
+#else
+#include <stdint.h>
+
+#define PRId64 "I64d"
+#define SCNd64 "I64d"
+#define PRIu64 "I64u"
+
+#endif
+
+#endif