From: Bruno Haible Date: Sun, 13 Apr 2008 19:58:00 +0000 (+0200) Subject: Fix compilation failure on AIX with xlc. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33b602c44df79204ad59f2a3f160e5aae374a971;p=pspp Fix compilation failure on AIX with xlc. --- diff --git a/ChangeLog b/ChangeLog index 46aa92cc7d..51406da7ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/tests/test-frexp.c b/tests/test-frexp.c index 2fa15c0bfa..c08056ca6a 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 148a27f26d..08042be4a1 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) \