diff options
author | Max Horn | 2006-07-22 17:28:48 +0000 |
---|---|---|
committer | Max Horn | 2006-07-22 17:28:48 +0000 |
commit | 2859b647026af1a927d1a74100f125bbc0f77db3 (patch) | |
tree | e842c9e2e67296f5bbc48645ba49b469edb7bd22 /engines/saga | |
parent | 1ffd49604357ed6fd63e133369a89e3b57711ae2 (diff) | |
download | scummvm-rg350-2859b647026af1a927d1a74100f125bbc0f77db3.tar.gz scummvm-rg350-2859b647026af1a927d1a74100f125bbc0f77db3.tar.bz2 scummvm-rg350-2859b647026af1a927d1a74100f125bbc0f77db3.zip |
Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
svn-id: r23569
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/gfx.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/saga/gfx.h b/engines/saga/gfx.h index 1bffbd2834..f3a2f14068 100644 --- a/engines/saga/gfx.h +++ b/engines/saga/gfx.h @@ -78,9 +78,7 @@ struct ClipData { } }; -#if defined(START_PACK_STRUCTS) -#pragma START_PACK_STRUCTS -#endif +#include <common/pack-start.h> // START STRUCT PACKING struct PalEntry { byte red; @@ -88,9 +86,7 @@ struct PalEntry { byte blue; }; -#if defined(END_PACK_STRUCTS) -#pragma END_PACK_STRUCTS -#endif +#include <common/pack-end.h> // END STRUCT PACKING struct Color { int red; |