Patched to compile on gcc2.

This commit is contained in:
Ryan C. Gordon committed 2015-03-19 23:54:35 -04:00
1 parent 06e85acd72
commit 6c072917e9
1 file changed
+4
+4
View File
@@ -99,7 +99,11 @@ typedef struct SDL_AudioDeviceItem
{
void *handle;
struct SDL_AudioDeviceItem *next;
#if (defined(__GNUC__) && (__GNUC__ <= 2))
char name[1]; /* actually variable length. */
#else
char name[];
#endif
} SDL_AudioDeviceItem;