mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-01-15 02:17:55 +08:00
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.
This commit is contained in:
commit
363e51c0a9
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
#if defined(_MSC_VER) && _MSC_VER < 1500 // VC++ 8.0 and below
|
#if defined(_MSC_VER) && _MSC_VER < 1500 // VC++ 8.0 and below
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
#else
|
#elif __cplusplus >= 201103L
|
||||||
#define snprintf std::snprintf
|
#define snprintf std::snprintf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user