|
@@ -23,6 +23,12 @@
|
|
#include "window/Window.h"
|
|
#include "window/Window.h"
|
|
|
|
|
|
// SDL
|
|
// SDL
|
|
|
|
+#if __has_include(<SDL3/SDL_clipboard.h>)
|
|
|
|
+#include <SDL3/SDL_clipboard.h>
|
|
|
|
+#include <SDL3/SDL_cpuinfo.h>
|
|
|
|
+#include <SDL3/SDL_version.h>
|
|
|
|
+#include <SDL3/SDL_locale.h>
|
|
|
|
+#else
|
|
#include <SDL_clipboard.h>
|
|
#include <SDL_clipboard.h>
|
|
#include <SDL_cpuinfo.h>
|
|
#include <SDL_cpuinfo.h>
|
|
#include <SDL_version.h>
|
|
#include <SDL_version.h>
|
|
@@ -30,6 +36,7 @@
|
|
#if SDL_VERSION_ATLEAST(2, 0, 14)
|
|
#if SDL_VERSION_ATLEAST(2, 0, 14)
|
|
#include <SDL_locale.h>
|
|
#include <SDL_locale.h>
|
|
#endif
|
|
#endif
|
|
|
|
+#endif
|
|
|
|
|
|
namespace love
|
|
namespace love
|
|
{
|
|
{
|