diff options
author | pixel <pixel> | 2003-09-05 15:28:29 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-09-05 15:28:29 +0000 |
commit | d4a8ce20018536ca26564d5dc92c1c051316df4f (patch) | |
tree | 6381bac660808f4b9fc2c84755bc8dedd1d75797 | |
parent | 97016d7cf0a5426e1d52637d3eff83ed4b9a7b57 (diff) |
Fixed more things... I'm starting to like MSVC! THAT'S NO GOOD!
-rw-r--r-- | include/generic.h | 8 |
1 files changed, 8 insertions, 0 deletions
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); |