Merge pull request #418 from Techwolfy/master

std::snprintf fix for Cygwin
This commit is contained in:
Christopher Dunn 2016-02-10 21:17:31 -06:00
commit b4d2b65841
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
#elif defined(__ANDROID__) || defined(__QNXNTO__)
#define snprintf snprintf
#elif __cplusplus >= 201103L
#if !defined(__MINGW32__)
#if !defined(__MINGW32__) && !defined(__CYGWIN__)
#define snprintf std::snprintf
#endif
#endif

View File

@ -57,7 +57,7 @@
#elif defined(__ANDROID__) || defined(__QNXNTO__)
#define snprintf snprintf
#elif __cplusplus >= 201103L
#if !defined(__MINGW32__)
#if !defined(__MINGW32__) && !defined(__CYGWIN__)
#define snprintf std::snprintf
#endif
#endif