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 464 B

123456789101112131415161718192021222324
  1. #ifndef _json_inttypes_h_
  2. #define _json_inttypes_h_
  3. #if defined(_MSC_VER) && _MSC_VER < 1600
  4. /* Anything less than Visual Studio C++ 10 is missing stdint.h and inttypes.h */
  5. typedef __int32 int32_t;
  6. #define INT32_MIN ((int32_t)_I32_MIN)
  7. #define INT32_MAX ((int32_t)_I32_MAX)
  8. typedef __int64 int64_t;
  9. #define PRId64 "I64d"
  10. #define SCNd64 "I64d"
  11. #else
  12. #ifdef HAVE_INTTYPES_H
  13. #include <inttypes.h>
  14. #endif
  15. /* inttypes.h includes stdint.h */
  16. #endif
  17. #endif