Merge pull request #221 from cmdrf/snprintf-vs2015

Do not redefine snprintf on VS2015
This commit is contained in:
Ignacio 2015-06-10 10:51:07 -07:00
commit 0d205015ae

View File

@ -19,7 +19,9 @@
#define NV_CONST #define NV_CONST
// Set standard function names. // Set standard function names.
#define snprintf _snprintf #if _MSC_VER < 1900
# define snprintf _snprintf
#endif
#if _MSC_VER < 1500 #if _MSC_VER < 1500
# define vsnprintf _vsnprintf # define vsnprintf _vsnprintf
#endif #endif