use std::snprintf for C++11

This commit is contained in:
Christopher Dunn 2015-03-31 12:39:44 -05:00
parent 9dd77dc0ef
commit 240ddb6a1b

View File

@ -29,6 +29,8 @@
#if defined(_MSC_VER) && _MSC_VER < 1500 // VC++ 8.0 and below
#define snprintf _snprintf
#elif __cplusplus >= 201103L
#define snprintf std::snprintf
#endif
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0