Buffer alignment now only done when SSE enabled, alignment macro still

broken on AMD 64.
This commit is contained in:
Element Green 2005-07-06 05:43:44 +00:00
parent 98110ff66a
commit e38b92ae94

View file

@ -285,7 +285,12 @@ typedef FILE* fluid_file;
* As soon as proper alignment is supported by the compiler, this
* can be removed.
*/
#ifdef ENABLE_SSE
/* FIXME - This is broken on AMD 64 - only used if SSE enabled */
#define FLUID_ALIGN16BYTE(ptr)(((int)(ptr)+15) & (~0xFL))
#else
#define FLUID_ALIGN16BYTE(ptr) ptr
#endif
#if WITH_FTS
#define FLUID_PRINTF post