Fix for snprintf for > VS2015

This commit is contained in:
Stephen Kyne 2017-06-27 12:02:03 +01:00 committed by derselbst
parent b92b9d64da
commit 4a1ca1712e
2 changed files with 5 additions and 0 deletions

View file

@ -5,7 +5,9 @@
#define DSOUND_SUPPORT 1
#define WINMIDI_SUPPORT 1
#if _MSC_VER < 1900
#define snprintf _snprintf
#endif
#define strcasecmp _stricmp
#if _MSC_VER < 1500

View file

@ -14,7 +14,10 @@
#define WINMIDI_SUPPORT 1
#define WITH_FLOAT 1
#if _MSC_VER < 1900
#define snprintf _snprintf
#endif
#define strcasecmp _stricmp
#if _MSC_VER < 1500