Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Patched to compile on gcc2.
  • Loading branch information
icculus committed Mar 20, 2015
1 parent 06e85ac commit 6c07291
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/audio/SDL_sysaudio.h
Expand Up @@ -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;


Expand Down

0 comments on commit 6c07291

Please sign in to comment.