mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-05-03 07:52:28 +02:00
Merge pull request #406 from magnific0/master
std::snprintf not part of std for MinGW32 using c++11
This commit is contained in:
commit
2c872ec997
@ -30,8 +30,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(__QNXNTO__)
|
#if defined(__QNXNTO__)
|
||||||
#define sscanf std::sscanf
|
#define sscanf std::sscanf
|
||||||
|
@ -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