From 2859b647026af1a927d1a74100f125bbc0f77db3 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 22 Jul 2006 17:28:48 +0000 Subject: Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC) svn-id: r23569 --- engines/gob/game.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'engines/gob/game.h') diff --git a/engines/gob/game.h b/engines/gob/game.h index 4cbc183f44..f6abc2ee67 100644 --- a/engines/gob/game.h +++ b/engines/gob/game.h @@ -31,9 +31,7 @@ namespace Gob { class Game { public: -#if defined(START_PACK_STRUCTS) -#pragma START_PACK_STRUCTS -#endif +#include // START STRUCT PACKING struct Collision { int16 id; @@ -131,9 +129,7 @@ public: int32 vidBufferSize; }; -#if defined(END_PACK_STRUCTS) -#pragma END_PACK_STRUCTS -#endif +#include // END STRUCT PACKING TotResTable *_totResourceTable; Collision *_collisionAreas; -- cgit v1.2.3