MSVC 2015 supports snprintf and not _snprintf
This commit is contained in:
parent
560718862f
commit
ce01ad7c2f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user