Fix VS2013 compilation of a066e18.

This commit is contained in:
Miku AuahDark
2021-09-25 08:17:41 +08:00
parent a066e18aa6
commit 75a3e5db01
+6
View File
@@ -33,6 +33,12 @@
#ifdef LOVE_WINDOWS
#include <windows.h>
#if defined(_MSC_VER) && (_MSC_VER < 1900)
// VS 2013 and earlier doesn't have snprintf
#define snprintf sprintf_s
#endif // defined(_MSC_VER) && (_MSC_VER < 1900)
#endif // LOVE_WINDOWS
#ifdef LOVE_ANDROID