diff options
author | Lars Persson | 2006-03-02 10:52:27 +0000 |
---|---|---|
committer | Lars Persson | 2006-03-02 10:52:27 +0000 |
commit | dad7ee3e2ff5112112757074ac99ec14f2be0d5d (patch) | |
tree | 260c4aa9476d1a0713f7d7d39e8f19c6d682b380 /engines | |
parent | 6e0a0d30ea0c292aefdc4798bff38c85991fff8f (diff) | |
download | scummvm-rg350-dad7ee3e2ff5112112757074ac99ec14f2be0d5d.tar.gz scummvm-rg350-dad7ee3e2ff5112112757074ac99ec14f2be0d5d.tar.bz2 scummvm-rg350-dad7ee3e2ff5112112757074ac99ec14f2be0d5d.zip |
Add PACK macros to structs for it to work on all platforms
svn-id: r21009
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cine/part.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/cine/part.h b/engines/cine/part.h index 4af6c6066c..95321462a5 100644 --- a/engines/cine/part.h +++ b/engines/cine/part.h @@ -26,13 +26,16 @@ #define CINE_PART_H_ namespace Cine { +#if !defined(__GNUC__) + #pragma START_PACK_STRUCTS +#endif struct PartBuffer { char partName[14]; uint32 offset; uint32 packedSize; uint32 unpackedSize; -}; +} GCC_PACK; struct AnimData { uint16 width; @@ -45,7 +48,11 @@ struct AnimData { int16 fileIdx; int16 frameIdx; char name[10]; -}; +} GCC_PACK; + +#if !defined(__GNUC__) + #pragma END_PACK_STRUCTS +#endif #define NUM_MAX_PARTDATA 255 #define NUM_MAX_ANIMDATA 255 |