--- portab.h 2002/03/21 13:44:29 1.5 +++ portab.h 2002/03/25 20:01:54 1.7 @@ -32,7 +32,11 @@ #define EMMS() __asm {emms} #define CACHE_LINE 16 +#if _MSC_VER <= 1200 +#define CACHE_ALIGN +#else #define CACHE_ALIGN __declspec(align(CACHE_LINE)) +#endif // needed for bitstream.h #define BSWAP(a) __asm mov eax,a __asm bswap eax __asm mov a, eax @@ -74,7 +78,8 @@ #endif #define CACHE_LINE 16 -#define CACHE_ALIGN +#define CACHE_ALIGN __attribute__ ((__aligned__(CACHE_LINE))) + #if defined(LINUX)