From 729d654a87a3979f98c41963bd31f04f02429c8e Mon Sep 17 00:00:00 2001 From: hellerve Date: Thu, 15 Oct 2020 13:14:31 +0200 Subject: [PATCH] core: fix SDL for newer versions --- core/SDLHelper.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/SDLHelper.h b/core/SDLHelper.h index 994641db..8a9078e3 100644 --- a/core/SDLHelper.h +++ b/core/SDLHelper.h @@ -1,4 +1,12 @@ +#define Uint8 SDLUint8 +#define Uint16 SDLUint16 +#define Uint32 SDLUint32 +#define Uint64 SDLUint64 #include +#undef Uint8 +#undef Uint16 +#undef Uint32 +#undef Uint64 // Event SDL_Event SDL_Event_init() {