Don't use a bitfield for this.
authorRyan C. Gordon
Fri, 22 Jul 2011 00:09:58 -0700
changeset 557844463666df04
parent 5577 ced8a6788629
child 5579 c8862e1bc41f
Don't use a bitfield for this.

It pads out to an int anyhow, but causes code bloat as the compiler tries to
mask and shift for that specific bit.
src/audio/SDL_sysaudio.h
     1.1 --- a/src/audio/SDL_sysaudio.h	Wed Jul 20 16:35:37 2011 -0700
     1.2 +++ b/src/audio/SDL_sysaudio.h	Fri Jul 22 00:09:58 2011 -0700
     1.3 @@ -120,7 +120,7 @@
     1.4      const char *name;
     1.5      const char *desc;
     1.6      int (*init) (SDL_AudioDriverImpl * impl);
     1.7 -    int demand_only:1;          /* 1==request explicitly, or it won't be available. */
     1.8 +    int demand_only;  /* 1==request explicitly, or it won't be available. */
     1.9  } AudioBootStrap;
    1.10  
    1.11  #endif /* _SDL_sysaudio_h */