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