diff --git a/avilib-0.6.10/avilib.h b/avilib-0.6.10/avilib.h index c48611d1a..f46c9806f 100644 --- a/avilib-0.6.10/avilib.h +++ b/avilib-0.6.10/avilib.h @@ -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 {