mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-05-02 23:42: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__)
|
||||
#define snprintf snprintf
|
||||
#elif __cplusplus >= 201103L
|
||||
#if !defined(__MINGW32__)
|
||||
#define snprintf std::snprintf
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__QNXNTO__)
|
||||
#define sscanf std::sscanf
|
||||
|
@ -57,8 +57,10 @@
|
||||
#elif defined(__ANDROID__) || defined(__QNXNTO__)
|
||||
#define snprintf snprintf
|
||||
#elif __cplusplus >= 201103L
|
||||
#if !defined(__MINGW32__)
|
||||
#define snprintf std::snprintf
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__BORLANDC__)
|
||||
#include <float.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user