Hi Collin,

> On AIX in a testdir of all modules

Yes, since we don't have a CI build for AIX, we need to occasionally check
it manually.

> I have pushed the attach two patches fixing this, and a similar one in
> the aligned-malloc tests.

Thanks. Just for nitpicking:

> +# ifdef ALIGNMENT
> +#  undef ALIGNMENT
> +# endif

A single-line
  # undef ALIGNMENT
does it as well and is shorter.

> /* Avoid redefined macro on AIX.  */

Well, with your change, the code still redefines the macro. Only, it does
so without triggering a compiler warning.
How about this?

/* AIX defines a macro ALIGNMENT in <sys/socket.h>.  Undefine it.  */

Bruno




Reply via email to