src/audio/SDL_sysaudio.h
changeset 9407 83eab73048cd
parent 9399 a684dbd185c7
child 9619 b94b6d0bff0f
equal deleted inserted replaced
9406:3547065d936d 9407:83eab73048cd
    97 
    97 
    98 typedef struct SDL_AudioDeviceItem
    98 typedef struct SDL_AudioDeviceItem
    99 {
    99 {
   100     void *handle;
   100     void *handle;
   101     struct SDL_AudioDeviceItem *next;
   101     struct SDL_AudioDeviceItem *next;
       
   102     #if (defined(__GNUC__) && (__GNUC__ <= 2))
       
   103     char name[1];  /* actually variable length. */
       
   104     #else
   102     char name[];
   105     char name[];
       
   106     #endif
   103 } SDL_AudioDeviceItem;
   107 } SDL_AudioDeviceItem;
   104 
   108 
   105 
   109 
   106 typedef struct SDL_AudioDriver
   110 typedef struct SDL_AudioDriver
   107 {
   111 {