mirror of
https://github.com/carp-lang/Carp.git
synced 2024-11-05 04:44:12 +03:00
Merge pull request #944 from hellerve/veit/fix-sdl
Fix SDL for newer versions
This commit is contained in:
commit
0059729cc9
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user