mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
Use SDL3-compatible SDL includes when SDL3 headers are available
This commit is contained in:
@@ -34,8 +34,13 @@
|
||||
#endif
|
||||
|
||||
// SDL
|
||||
#if __has_include(<SDL3/SDL_loadso.h>)
|
||||
#include <SDL3/SDL_loadso.h>
|
||||
#include <SDL3/SDL_version.h>
|
||||
#else
|
||||
#include <SDL_loadso.h>
|
||||
#include <SDL_version.h>
|
||||
#endif
|
||||
|
||||
// STL
|
||||
#include <vector>
|
||||
|
||||
Reference in New Issue
Block a user