mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-05-08 01:25:43 +02:00
Merge pull request #418 from Techwolfy/master
std::snprintf fix for Cygwin
This commit is contained in:
commit
b4d2b65841
@ -30,7 +30,7 @@
|
|||||||
#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__)
|
#if !defined(__MINGW32__) && !defined(__CYGWIN__)
|
||||||
#define snprintf std::snprintf
|
#define snprintf std::snprintf
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
#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__)
|
#if !defined(__MINGW32__) && !defined(__CYGWIN__)
|
||||||
#define snprintf std::snprintf
|
#define snprintf std::snprintf
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user