mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Use SDL3-compatible SDL includes when SDL3 headers are available
This commit is contained in:
@@ -20,8 +20,13 @@
|
||||
|
||||
#include "delay.h"
|
||||
|
||||
#if __has_include(<SDL3/SDL_timer.h>)
|
||||
#include <SDL3/SDL_timer.h>
|
||||
#include <SDL3/SDL_version.h>
|
||||
#else
|
||||
#include <SDL_timer.h>
|
||||
#include <SDL_version.h>
|
||||
#endif
|
||||
|
||||
namespace love
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user