Fixes for proper WAVEFORMATEX handling.

This commit is contained in:
Moritz Bunkus 2003-10-26 16:57:01 +00:00
parent 40b5283e1f
commit 118f1573cf

View File

@ -162,7 +162,11 @@ typedef struct
uint32_t bi_clr_important;
} alBITMAPINFOHEADER;
#pragma pack(2)
#if __GNUC__ == 2
#pragma pack(1)
#else
#pragma pack(push,1)
#endif
typedef struct
{
@ -175,7 +179,11 @@ typedef struct
uint16_t cb_size;
} alWAVEFORMATEX;
#if __GNUC__ == 2
#pragma pack(4)
#else
#pragma pack(pop)
#endif
typedef struct
{