Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)

svn-id: r23569
This commit is contained in:
Max Horn 2006-07-22 17:28:48 +00:00
parent 1ffd496043
commit 2859b64702
32 changed files with 116 additions and 181 deletions

View file

@ -53,9 +53,7 @@ struct SaveGameHeader {
char name[32];
};
#if defined(START_PACK_STRUCTS)
#pragma START_PACK_STRUCTS
#endif
#include <common/pack-start.h> // START STRUCT PACKING
struct SaveInfoSection {
uint32 type;
@ -71,9 +69,7 @@ struct SaveInfoSection {
#define SaveInfoSectionSize (4+4+4 + 4+4 + 4+2)
#if defined(END_PACK_STRUCTS)
#pragma END_PACK_STRUCTS
#endif
#include <common/pack-end.h> // END STRUCT PACKING
#define INFOSECTION_VERSION 2