core: fix SDL for newer versions

This commit is contained in:
hellerve 2020-10-15 13:14:31 +02:00
parent 772051ede9
commit 729d654a87

View File

@ -1,4 +1,12 @@
#define Uint8 SDLUint8
#define Uint16 SDLUint16
#define Uint32 SDLUint32
#define Uint64 SDLUint64
#include <SDL2/SDL.h>
#undef Uint8
#undef Uint16
#undef Uint32
#undef Uint64
// Event
SDL_Event SDL_Event_init() {