mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Patched to compile on gcc2.
This commit is contained in:
parent
06e85acd72
commit
6c072917e9
@ -99,7 +99,11 @@ typedef struct SDL_AudioDeviceItem
|
|||||||
{
|
{
|
||||||
void *handle;
|
void *handle;
|
||||||
struct SDL_AudioDeviceItem *next;
|
struct SDL_AudioDeviceItem *next;
|
||||||
|
#if (defined(__GNUC__) && (__GNUC__ <= 2))
|
||||||
|
char name[1]; /* actually variable length. */
|
||||||
|
#else
|
||||||
char name[];
|
char name[];
|
||||||
|
#endif
|
||||||
} SDL_AudioDeviceItem;
|
} SDL_AudioDeviceItem;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user