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