X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=inline;f=src%2Futil.h;h=6d869ebec22169441afcde79fb10f102e8220e47;hb=2c4602e53eaab44272ea5cd62667c939e6d2f61b;hp=76dd044eae32bfe11d9419d1a3cb25e42adf1530;hpb=e306e700b04607927f659948590c2c2ed234157e;p=dosdemo diff --git a/src/util.h b/src/util.h index 76dd044..6d869eb 100644 --- a/src/util.h +++ b/src/util.h @@ -5,12 +5,15 @@ #ifdef __GNUC__ #define INLINE __inline +#define PACKED __attribute__((packed)) #elif defined(__WATCOMC__) #define INLINE __inline +#define PACKED #else #define INLINE +#define PACKED #endif /* fast conversion of double -> 32bit int