mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-24 04:29:34 -04:00
Fix compilation with non-MSCV compilers, e.g. MinGW
This commit is contained in:
parent
70a0d74de2
commit
fa061a1d64
@ -2221,7 +2221,7 @@ typedef unsigned long dword_t;
|
||||
typedef long long_t;
|
||||
typedef unsigned char ubyte_t;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef _WIN32
|
||||
#pragma pack(push, 1)
|
||||
#endif
|
||||
|
||||
@ -2249,7 +2249,7 @@ typedef struct tagBITMAPINFOHEADER
|
||||
dword_t biClrImportant;
|
||||
} __attribute__ ((packed)) BITMAPINFOHEADER;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef _WIN32
|
||||
#pragma pack(pop)
|
||||
#endif
|
||||
|
||||
|
@ -69,7 +69,7 @@ typedef struct
|
||||
int speed;
|
||||
} anim_t;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef _WIN32
|
||||
#pragma pack(push, 1)
|
||||
#endif
|
||||
|
||||
@ -84,7 +84,7 @@ typedef struct
|
||||
int speed;
|
||||
} __attribute__ ((packed)) animdef_t; //jff 3/23/98 pack to read from memory
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef _WIN32
|
||||
#pragma pack(pop)
|
||||
#endif
|
||||
|
||||
|
@ -514,7 +514,7 @@ typedef enum
|
||||
|
||||
// switch animation structure type
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef _WIN32
|
||||
#pragma pack(push, 1)
|
||||
#endif
|
||||
|
||||
@ -525,7 +525,7 @@ typedef struct
|
||||
short episode;
|
||||
} __attribute__ ((packed)) switchlist_t; //jff 3/23/98 pack to read from memory
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef _WIN32
|
||||
#pragma pack(pop)
|
||||
#endif
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
//
|
||||
|
||||
// haleyjd 01/21/05: these structs must be packed
|
||||
#ifdef _MSC_VER
|
||||
#ifdef _WIN32
|
||||
#pragma pack(push, 1)
|
||||
#endif
|
||||
|
||||
@ -52,7 +52,7 @@ typedef struct
|
||||
char name[8];
|
||||
} filelump_t;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef _WIN32
|
||||
#pragma pack(pop)
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user