aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Horn2007-07-01 18:18:43 +0000
committerMax Horn2007-07-01 18:18:43 +0000
commite1bcd70436656ed48933aadca38636f70348c842 (patch)
treefe324a6c31f5c368277c3b9e9fd42e0440f8dc7f /common
parentf7041f94ce0a28ed21b918d1fb05ba66f131ea6d (diff)
downloadscummvm-rg350-e1bcd70436656ed48933aadca38636f70348c842.tar.gz
scummvm-rg350-e1bcd70436656ed48933aadca38636f70348c842.tar.bz2
scummvm-rg350-e1bcd70436656ed48933aadca38636f70348c842.zip
Re-added __attribute__(packed)
svn-id: r27830
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