Re: allocsa module update

2006-08-08 Thread Bruno Haible
Ralf Wildenhues wrote: *** *** 81,86 --- 92,101 /* Work around a HP-UX 10.20 cc bug with enums constants defined as offsetof values. */ # define sa_alignof(type) (sizeof (type) = 4 ? 4 : 8) + #elif defined _AIX + /* Work around an AIX 3.2.5

Re: allocsa module update

2006-08-08 Thread Bruno Haible
Ralf Wildenhues wrote: Thanks. Note this still doesn't cope with -qalign, nor would I bet money that AIX won't ever use 8 byte alignment for 4 byte types (or similar). Such an alignment rule would mean that in a struct { int x; int y; int z; } or struct { float x; float y; float z; } half

Re: allocsa module update

2006-08-06 Thread Ralf Wildenhues
Hello Bruno, A while ago you applied this go gnulib: * Bruno Haible wrote on Sat, Jul 22, 2006 at 03:53:42PM CEST: Merge from gettext: 2005-02-10 Bruno Haible [EMAIL PROTECTED] * allocsa.h (sa_alignof): Define differently with AIX xlc, to avoid a bug of this compiler on AIX

allocsa module update

2006-07-22 Thread Bruno Haible
Merge from gettext: 2005-02-12 Bruno Haible [EMAIL PROTECTED] * allocsa.h: Add extern C for C++. 2005-02-10 Bruno Haible [EMAIL PROTECTED] * allocsa.h (sa_alignof): Define differently with AIX xlc, to avoid a bug of this compiler on AIX 3.2.5 dealing with enums.