mirror of
https://github.com/fadden/nulib2.git
synced 2024-12-27 17:29:57 +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>
|
# include <direct.h>
|
||||||
# define FOPEN_WANTS_B
|
# define FOPEN_WANTS_B
|
||||||
# define HAVE_CHSIZE
|
# define HAVE_CHSIZE
|
||||||
# define snprintf _snprintf
|
# if _MSC_VER < 1900 /* no snprintf until Visual Studio 2015 */
|
||||||
# define vsnprintf _vsnprintf
|
# define snprintf _snprintf
|
||||||
|
# define vsnprintf _vsnprintf
|
||||||
|
# endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -64,8 +64,10 @@
|
|||||||
# include <direct.h>
|
# include <direct.h>
|
||||||
# define FOPEN_WANTS_B
|
# define FOPEN_WANTS_B
|
||||||
# define HAVE_CHSIZE
|
# define HAVE_CHSIZE
|
||||||
# define snprintf _snprintf
|
# if _MSC_VER < 1900 /* no snprintf until Visual Studio 2015 */
|
||||||
# define vsnprintf _vsnprintf
|
# define snprintf _snprintf
|
||||||
|
# define vsnprintf _vsnprintf
|
||||||
|
# endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user