fix compile error on android

This commit is contained in:
Péricles Lopes Machado 2015-05-18 14:31:05 -03:00
parent 5256551b03
commit 97e093a361

View File

@ -29,6 +29,8 @@
#if defined(_MSC_VER) && _MSC_VER < 1500 // VC++ 8.0 and below
#define snprintf _snprintf
#elif defined(__ANDROID__)
#define snprintf snprintf
#elif __cplusplus >= 201103L
#define snprintf std::snprintf
#endif