mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-06-12 02:52:13 +02:00
std::snprintf fix for MinGW32 c++11
This commit is contained in:
parent
2646ac5fa5
commit
bc9b445fee
@ -57,8 +57,10 @@
|
|||||||
#elif defined(__ANDROID__) || defined(__QNXNTO__)
|
#elif defined(__ANDROID__) || defined(__QNXNTO__)
|
||||||
#define snprintf snprintf
|
#define snprintf snprintf
|
||||||
#elif __cplusplus >= 201103L
|
#elif __cplusplus >= 201103L
|
||||||
|
#if !defined(__MINGW32__)
|
||||||
#define snprintf std::snprintf
|
#define snprintf std::snprintf
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__BORLANDC__)
|
#if defined(__BORLANDC__)
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user