diff options
author | Nicolas Bacca | 2002-05-01 00:13:03 +0000 |
---|---|---|
committer | Nicolas Bacca | 2002-05-01 00:13:03 +0000 |
commit | eda81d39ffc6753ac1a4b53f6f9c75dd80ff3245 (patch) | |
tree | d1ca07bbda58598fea3611cddf5c736124f62083 /boxes.h | |
parent | e18a256b768efdf684e399093843385604c915b2 (diff) | |
download | scummvm-rg350-eda81d39ffc6753ac1a4b53f6f9c75dd80ff3245.tar.gz scummvm-rg350-eda81d39ffc6753ac1a4b53f6f9c75dd80ff3245.tar.bz2 scummvm-rg350-eda81d39ffc6753ac1a4b53f6f9c75dd80ff3245.zip |
Fixed packing for non GCC compilers - Loom & Zak work on WinCE now
svn-id: r4151
Diffstat (limited to 'boxes.h')
-rw-r--r-- | boxes.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -20,6 +20,10 @@ * */ +#if !defined(__GNUC__) + #pragma START_PACK_STRUCTS +#endif + #define SIZEOF_BOX 20 struct Box { /* Internal walkbox file format */ int16 ulx,uly; @@ -31,6 +35,10 @@ struct Box { /* Internal walkbox file format */ uint16 scale; } GCC_PACK; +#if !defined(__GNUC__) + #pragma END_PACK_STRUCTS +#endif + struct AdjustBoxResult { /* Result type of AdjustBox functions */ int16 x,y; uint16 dist; |