Skip to content

Commit 1c58876

Browse files
connormanningcdunn2001
authored andcommitted
Use std namespace for snprintf.
1 parent 2f20346 commit 1c58876

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib_json/json_writer.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929

3030
#if defined(_MSC_VER) && _MSC_VER < 1500 // VC++ 8.0 and below
3131
#define snprintf _snprintf
32+
#else
33+
#define snprintf std::snprintf
3234
#endif
3335

3436
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0

0 commit comments

Comments
 (0)