You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

json_inttypes.h 675 B

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