Update SysDefs for Visual Studio 2015

Apparently VS2015 now includes definitions for snprintf/vsnprintf.

Not tested with VS2015.
This commit is contained in:
Andy McFadden 2015-11-15 15:36:01 -08:00
parent 508531fb54
commit bc96aa420b
2 changed files with 8 additions and 4 deletions

View File

@ -67,8 +67,10 @@
# include <direct.h>
# define FOPEN_WANTS_B
# define HAVE_CHSIZE
# if _MSC_VER < 1900 /* no snprintf until Visual Studio 2015 */
# define snprintf _snprintf
# define vsnprintf _vsnprintf
# endif
#endif

View File

@ -64,8 +64,10 @@
# include <direct.h>
# define FOPEN_WANTS_B
# define HAVE_CHSIZE
# if _MSC_VER < 1900 /* no snprintf until Visual Studio 2015 */
# define snprintf _snprintf
# define vsnprintf _vsnprintf
# endif
#endif