fix use snprintf
This commit is contained in:
parent
4b8070ccdc
commit
e3b3bb41ef
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user