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/scumm/thumbnail.cpp | |
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/scumm/thumbnail.cpp')
-rw-r--r-- | engines/scumm/thumbnail.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/scumm/thumbnail.cpp b/engines/scumm/thumbnail.cpp index 1458cec359..a76088949e 100644 --- a/engines/scumm/thumbnail.cpp +++ b/engines/scumm/thumbnail.cpp @@ -31,9 +31,7 @@ namespace Scumm { #define THMB_VERSION 1 -#if defined(START_PACK_STRUCTS) -#pragma START_PACK_STRUCTS -#endif +#include <common/pack-start.h> // START STRUCT PACKING struct ThumbnailHeader { uint32 type; @@ -45,9 +43,7 @@ struct ThumbnailHeader { #define ThumbnailHeaderSize (4+4+1+2+2+1) -#if defined(END_PACK_STRUCTS) -#pragma END_PACK_STRUCTS -#endif +#include <common/pack-end.h> // END STRUCT PACKING inline void colorToRGB(uint16 color, uint8 &r, uint8 &g, uint8 &b) { |