Fixed snprintf compile error with VS2015.

This commit is contained in:
yhirose 2015-08-04 11:26:41 -04:00
parent 5022bef3d7
commit de1f7ebad6

View File

@ -18,7 +18,7 @@
#ifndef SO_OPENTYPE
#define SO_OPENTYPE 0x7008
#endif
#ifndef snprintf
#if (_MSC_VER < 1900)
#define snprintf _snprintf_s
#endif