aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorMax Horn2006-07-09 13:01:15 +0000
committerMax Horn2006-07-09 13:01:15 +0000
commitf35f4a4d1c41a8d186621b912b985dd5d796632a (patch)
tree1468779935932e47d32e838458df8d2cf3a5bbe8 /engines/saga
parent880838514f28fd298e6418f2096d61b3f757e237 (diff)
downloadscummvm-rg350-f35f4a4d1c41a8d186621b912b985dd5d796632a.tar.gz
scummvm-rg350-f35f4a4d1c41a8d186621b912b985dd5d796632a.tar.bz2
scummvm-rg350-f35f4a4d1c41a8d186621b912b985dd5d796632a.zip
Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of checking for GCC / not GCC
svn-id: r23458
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/gfx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/saga/gfx.h b/engines/saga/gfx.h
index 2c0f4df600..04f3d17e71 100644
--- a/engines/saga/gfx.h
+++ b/engines/saga/gfx.h
@@ -78,14 +78,19 @@ struct ClipData {
}
};
+#if defined(START_PACK_STRUCTS)
#pragma START_PACK_STRUCTS
+#endif
+
struct PalEntry {
byte red;
byte green;
byte blue;
} GCC_PACK;
+#if defined(END_PACK_STRUCTS)
#pragma END_PACK_STRUCTS
+#endif
struct Color {
int red;