diff options
Diffstat (limited to 'sword2/icons.h')
-rw-r--r-- | sword2/icons.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sword2/icons.h b/sword2/icons.h index 3a6512ad64..4a6ca24e00 100644 --- a/sword2/icons.h +++ b/sword2/icons.h @@ -28,11 +28,19 @@ namespace Sword2 { // define these in a script and then register them with the system +#if !defined(__GNUC__) + #pragma START_PACK_STRUCTS +#endif + struct MenuObject { int32 icon_resource; // icon graphic graphic int32 luggage_resource; // luggage icon resource (for attaching to // mouse pointer) -}; +} GCC_PACK; + +#if !defined(__GNUC__) + #pragma END_PACK_STRUCTS +#endif } // End of namespace Sword2 |