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.
This commit is contained in:
Ryan C. Gordon
2011-07-22 00:09:58 -07:00
parent 75d8b324e2
commit fa2029820d

View File

@@ -120,7 +120,7 @@ typedef struct AudioBootStrap
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 */