patch for AIX (bug 983144)

This commit is contained in:
Brian Paul 2004-07-05 14:50:12 +00:00
parent cacf473732
commit cbc96b705d
1 changed files with 4 additions and 2 deletions

View File

@ -265,11 +265,13 @@ enum { NIL = 0, ONE = 1, NEG = -1, VAR = 2 };
/* Ensure our arrays are correctly aligned.
*/
#if defined(__GNUC__)
# define ALIGN16 __attribute__ ((aligned (16)))
# define ALIGN16 type array __attribute__ ((aligned (16)))
#elif defined(__MSC__)
# define ALIGN16 __declspec(align(16)) /* GH: Does this work? */
# define ALIGN16 type array __declspec(align(16)) /* GH: Does this work? */
#elif defined(__WATCOMC__)
# define ALIGN16 /* Watcom does not support this */
#elif defined(__xlC__)
# define ALIGN16(type, array) type __align (16) array
#else
# warning "ALIGN16 will not 16-byte align!\n"
# define ALIGN16