changeset 29607:6669aabd756d

Fix compilation failure on AIX with xlc.
author Bruno Haible <bruno@clisp.org>
date Sun, 13 Apr 2008 21:58:00 +0200
parents ab8955b24939
children 1f14ceca9e73
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	Sun Apr 13 21:41:13 2008 +0200
+++ b/ChangeLog	Sun Apr 13 21:58:00 2008 +0200
@@ -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	Sun Apr 13 21:41:13 2008 +0200
+++ b/tests/test-frexp.c	Sun Apr 13 21:58:00 2008 +0200
@@ -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	Sun Apr 13 21:41:13 2008 +0200
+++ b/tests/test-frexpl.c	Sun Apr 13 21:58:00 2008 +0200
@@ -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) \