fix use snprintf

This commit is contained in:
tqcq 2023-12-26 21:23:44 +08:00
parent 4b8070ccdc
commit e3b3bb41ef

View File

@ -63,7 +63,8 @@ extern JSON_API int msvc_pre1900_c99_snprintf(char* outBuf, size_t size,
const char* format, ...); const char* format, ...);
#define jsoncpp_snprintf msvc_pre1900_c99_snprintf #define jsoncpp_snprintf msvc_pre1900_c99_snprintf
#else #else
#define jsoncpp_snprintf std::snprintf // #define jsoncpp_snprintf std::snprintf
#define jsoncpp_snprintf snprintf
#endif #endif
// If JSON_NO_INT64 is defined, then Json only support C++ "int" type for // If JSON_NO_INT64 is defined, then Json only support C++ "int" type for