changeset 9916:3826b3abb5d0

Fix compilation failure on AIX with xlc.
author Bruno Haible <bruno@clisp.org>
date Sun, 13 Apr 2008 21:58:00 +0200
parents 3dadfbdbc21a
children 35130d1e3a53
files ChangeLog tests/test-frexp.c tests/test-frexpl.c
diffstat 3 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-04-13  Bruno Haible  <bruno@clisp.org>
+
+	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  <bruno@clisp.org>
 
 	Work around a HP-UX stdio bug.
--- 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) \
--- 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) \