mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-11 18:33:51 +02:00
Use std namespace for snprintf.
This commit is contained in:

committed by
Christopher Dunn

parent
2f2034629e
commit
1c58876185
@@ -29,6 +29,8 @@
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1500 // VC++ 8.0 and below
|
||||
#define snprintf _snprintf
|
||||
#else
|
||||
#define snprintf std::snprintf
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0
|
||||
|
Reference in New Issue
Block a user