mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-09 14:13:28 +02:00
fix compile error on android
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user