Don't use a bitfield for this.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 22 Jul 2011 00:09:58 -0700
changeset 5578 44463666df04
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
--- a/src/audio/SDL_sysaudio.h	Wed Jul 20 16:35:37 2011 -0700
+++ b/src/audio/SDL_sysaudio.h	Fri Jul 22 00:09:58 2011 -0700
@@ -120,7 +120,7 @@
     const char *name;
     const char *desc;
     int (*init) (SDL_AudioDriverImpl * impl);
-    int demand_only:1;          /* 1==request explicitly, or it won't be available. */
+    int demand_only;  /* 1==request explicitly, or it won't be available. */
 } AudioBootStrap;
 
 #endif /* _SDL_sysaudio_h */