src/audio/SDL_sysaudio.h
changeset 9407 83eab73048cd
parent 9399 a684dbd185c7
child 9619 b94b6d0bff0f
--- a/src/audio/SDL_sysaudio.h	Thu Mar 19 23:45:34 2015 -0400
+++ b/src/audio/SDL_sysaudio.h	Thu Mar 19 23:54:35 2015 -0400
@@ -99,7 +99,11 @@
 {
     void *handle;
     struct SDL_AudioDeviceItem *next;
+    #if (defined(__GNUC__) && (__GNUC__ <= 2))
+    char name[1];  /* actually variable length. */
+    #else
     char name[];
+    #endif
 } SDL_AudioDeviceItem;