mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Fix VS2013 compilation of a066e18.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user