aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/scummsys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/scummsys.h b/common/scummsys.h
index 4cb8d5d8e9..fb81bcb25a 100644
--- a/common/scummsys.h
+++ b/common/scummsys.h
@@ -313,8 +313,10 @@
//
#if defined(__GNUC__)
#define NORETURN __attribute__((__noreturn__))
+ #define PACKED_STRUCT __attribute__((packed))
#define GCC_PRINTF(x,y) __attribute__((format(printf, x, y)))
#else
+ #define PACKED_STRUCT
#define GCC_PRINTF(x,y)
#endif