mirror of
https://github.com/json-c/json-c.git
synced 2026-03-20 13:39:06 +08:00
30 lines
448 B
C
30 lines
448 B
C
|
|
/**
|
|
* @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
|
|
|
|
#if defined(_MSC_VER)
|
|
#include <BaseTsd.h>
|
|
typedef SSIZE_T ssize_t;
|
|
#endif
|
|
|
|
#endif
|