From b3c377e647b5eb14c2ed0ff27db4ac14a3fd4e2d Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 23 Jun 2002 15:37:45 +0000 Subject: Attribute ((packed)) fix... --- generic.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'generic.h') diff --git a/generic.h b/generic.h index b8ab95b..04c91fa 100644 --- a/generic.h +++ b/generic.h @@ -69,6 +69,10 @@ typedef Uint16 Word; typedef Uint32 DWord; #endif +#if defined __linux__ || defined __CYGWIN32__ +#define PACKED __attribute__((packed)) +#endif + extern char verbosity; void printm(int level, char * fmt, ...); char ** split(char * s, char t); -- cgit v1.2.3