From d4a8ce20018536ca26564d5dc92c1c051316df4f Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 5 Sep 2003 15:28:29 +0000 Subject: Fixed more things... I'm starting to like MSVC! THAT'S NO GOOD! --- include/generic.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/generic.h b/include/generic.h index fe48cc5..39030ab 100644 --- a/include/generic.h +++ b/include/generic.h @@ -79,6 +79,14 @@ typedef unsigned _int64 uint64; #endif #endif // !PACKED +#ifndef PPACKED +#if defined __linux__ || defined sun || defined __solaris__ || defined __CYGWIN32__ +#define PPACKED +#else // PACKED +#define PPACKED __declspec(align(1)) +#endif +#endif // !PACKED + extern char verbosity; char ** split(char * s, char t); -- cgit v1.2.3