Fix compilation error on old SDL2 library.

This commit is contained in:
Er2
2022-07-10 15:26:12 +03:00
parent 258d2334af
commit a77acef358
2 changed files with 14 additions and 1 deletions
+10
View File
@@ -1,3 +1,13 @@
# automake products
/config.h
/config.h.in
/config.log
/config.status
/configure
/configure-modules-post.ac
/configure-modules-pre.ac
/configure.ac
/extra/reshax/Release/
/extra/reshax/Debug/
/extra/reshax/resources.h
+4 -1
View File
@@ -25,9 +25,12 @@
// SDL
#include <SDL_clipboard.h>
#include <SDL_cpuinfo.h>
#include <SDL_locale.h>
#include <SDL_version.h>
#if SDL_VERSION_ATLEAST(2, 0, 14)
#include <SDL_locale.h>
#endif
namespace love
{
namespace system