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

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