MSVC 2015 supports snprintf and not _snprintf

This commit is contained in:
Behdad Esfahbod 2015-04-01 11:05:59 -07:00
parent 560718862f
commit ce01ad7c2f
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ static int errno = 0; /* Use something better? */
# elif defined(WINAPI_FAMILY) && (WINAPI_FAMILY==WINAPI_FAMILY_PC_APP || WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP)
# define getenv(Name) NULL
# endif
# if (defined(__WIN32__) && !defined(__WINE__)) || defined(_MSC_VER)
# if defined(_MSC_VER) && _MSC_VER < 1900
# define snprintf _snprintf
# endif
#endif