Skip to content

Commit 363e51c

Browse files
committed
Merge pull request #232 from cdunn2001/fix-snprintf
Fix snprintf Well, it passes Travis. But when we have time, we should clean up how snprintf is used in both reader and writer.
2 parents 244b149 + 240ddb6 commit 363e51c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/lib_json/json_writer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#if defined(_MSC_VER) && _MSC_VER < 1500 // VC++ 8.0 and below
3131
#define snprintf _snprintf
32-
#else
32+
#elif __cplusplus >= 201103L
3333
#define snprintf std::snprintf
3434
#endif
3535

0 commit comments

Comments
 (0)