From: Bruno Haible Date: Sun, 13 Apr 2008 19:58:00 +0000 (+0200) Subject: Fix compilation failure on AIX with xlc. X-Git-Tag: v0.1~7554 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=33b602c44df79204ad59f2a3f160e5aae374a971;p=gnulib.git Fix compilation failure on AIX with xlc. --- diff --git a/ChangeLog b/ChangeLog index 46aa92cc7..51406da7c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2008-04-13 Bruno Haible + Fix AIX compilation failure introduced on 2008-04-02. + * tests/test-frexp.c (exp): Undefine before redefining. + * tests/test-frexpl.c (exp): Likewise. + +2008-04-13 Bruno Haible + Work around a HP-UX stdio bug. * tests/test-ftell.c (main): Disable the fseek/ftell test on HP-UX. * tests/test-ftello.c (main): Likewise. diff --git a/tests/test-frexp.c b/tests/test-frexp.c index 2fa15c0bf..c08056ca6 100644 --- a/tests/test-frexp.c +++ b/tests/test-frexp.c @@ -29,6 +29,7 @@ /* Avoid some warnings from "gcc -Wshadow". This file doesn't use the exp() function. */ +#undef exp #define exp exponent #define ASSERT(expr) \ diff --git a/tests/test-frexpl.c b/tests/test-frexpl.c index 148a27f26..08042be4a 100644 --- a/tests/test-frexpl.c +++ b/tests/test-frexpl.c @@ -29,6 +29,7 @@ /* Avoid some warnings from "gcc -Wshadow". This file doesn't use the exp() function. */ +#undef exp #define exp exponent #define ASSERT(expr) \