mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-04-04 18:26:20 +02:00
Use std namespace for snprintf.
This commit is contained in:
parent
2f2034629e
commit
1c58876185
@ -29,6 +29,8 @@
|
|||||||
|
|
||||||
#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
|
||||||
|
#define snprintf std::snprintf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0
|
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user