mirror of
https://github.com/carp-lang/Carp.git
synced 2024-08-15 16:20:40 +03:00
core: fix SDL for newer versions
This commit is contained in:
parent
772051ede9
commit
729d654a87
@ -1,4 +1,12 @@
|
|||||||
|
#define Uint8 SDLUint8
|
||||||
|
#define Uint16 SDLUint16
|
||||||
|
#define Uint32 SDLUint32
|
||||||
|
#define Uint64 SDLUint64
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
|
#undef Uint8
|
||||||
|
#undef Uint16
|
||||||
|
#undef Uint32
|
||||||
|
#undef Uint64
|
||||||
|
|
||||||
// Event
|
// Event
|
||||||
SDL_Event SDL_Event_init() {
|
SDL_Event SDL_Event_init() {
|
||||||
|
Loading…
Reference in New Issue
Block a user