Merge pull request #406 from magnific0/master

std::snprintf not part of std for MinGW32 using c++11
This commit is contained in:
Christopher Dunn 2016-02-06 10:21:45 -06:00
commit 2c872ec997
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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>