mirror of
https://github.com/fadden/nulib2.git
synced 2024-12-27 02:31:49 +00:00
Update SysDefs for Visual Studio 2015
Apparently VS2015 now includes definitions for snprintf/vsnprintf. Not tested with VS2015.
This commit is contained in:
parent
508531fb54
commit
bc96aa420b
@ -67,8 +67,10 @@
|
||||
# include <direct.h>
|
||||
# define FOPEN_WANTS_B
|
||||
# define HAVE_CHSIZE
|
||||
# define snprintf _snprintf
|
||||
# define vsnprintf _vsnprintf
|
||||
# if _MSC_VER < 1900 /* no snprintf until Visual Studio 2015 */
|
||||
# define snprintf _snprintf
|
||||
# define vsnprintf _vsnprintf
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -64,8 +64,10 @@
|
||||
# include <direct.h>
|
||||
# define FOPEN_WANTS_B
|
||||
# define HAVE_CHSIZE
|
||||
# define snprintf _snprintf
|
||||
# define vsnprintf _vsnprintf
|
||||
# if _MSC_VER < 1900 /* no snprintf until Visual Studio 2015 */
|
||||
# define snprintf _snprintf
|
||||
# define vsnprintf _vsnprintf
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user