Use std namespace for snprintf.

This commit is contained in:
Connor Manning 2015-03-11 13:13:42 -05:00 committed by Christopher Dunn
parent 2f2034629e
commit 1c58876185

View File

@ -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