From e1bcd70436656ed48933aadca38636f70348c842 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 1 Jul 2007 18:18:43 +0000 Subject: Re-added __attribute__(packed) svn-id: r27830 --- common/scummsys.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common') 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 -- cgit v1.2.3