diff --git a/src/lib_json/json_writer.cpp b/src/lib_json/json_writer.cpp index 83102fd..ef976bf 100644 --- a/src/lib_json/json_writer.cpp +++ b/src/lib_json/json_writer.cpp @@ -29,7 +29,7 @@ #if defined(_MSC_VER) && _MSC_VER < 1500 // VC++ 8.0 and below #define snprintf _snprintf -#else +#elif __cplusplus >= 201103L #define snprintf std::snprintf #endif