mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Make sure we haven't changed the size of the SDL_Event structure and broken binary compatibility.
This commit is contained in:
parent
5418d41626
commit
eb71cd800d
@ -594,6 +594,9 @@ typedef union SDL_Event
|
|||||||
Uint8 padding[56];
|
Uint8 padding[56];
|
||||||
} SDL_Event;
|
} SDL_Event;
|
||||||
|
|
||||||
|
/* Make sure we haven't broken binary compatibility */
|
||||||
|
SDL_COMPILE_TIME_ASSERT(SDL_Event, sizeof(SDL_Event) == 56);
|
||||||
|
|
||||||
|
|
||||||
/* Function prototypes */
|
/* Function prototypes */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user