src/audio/SDL_sysaudio.h
changeset 10680 fe759a74b018
parent 10638 d11daa346140
child 10681 34b25c97b17f
     1.1 --- a/src/audio/SDL_sysaudio.h	Tue Dec 06 00:40:09 2016 -0800
     1.2 +++ b/src/audio/SDL_sysaudio.h	Tue Dec 06 02:20:58 2016 -0500
     1.3 @@ -105,11 +105,7 @@
     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 +    char name[SDL_VARIABLE_LENGTH_ARRAY];
    1.13  } SDL_AudioDeviceItem;
    1.14  
    1.15