Fix compilation failure on AIX with xlc.
authorBruno Haible <bruno@clisp.org>
Sun, 13 Apr 2008 19:58:00 +0000 (21:58 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 13 Apr 2008 19:58:00 +0000 (21:58 +0200)
ChangeLog
tests/test-frexp.c
tests/test-frexpl.c

index 46aa92cc7d78a76ad5d2cfc42874e3639b95fb70..51406da7ca6b722f1fb3445fce7f16f09bd96d2f 100644 (file)
--- 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.
index 2fa15c0bfa51be3d82a1b5ebe2a08816830286a4..c08056ca6a3b244bb57c45c13d25206e4110191c 100644 (file)
@@ -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) \
index 148a27f26df3202598f13f0f9042d02cf25c313f..08042be4a17415b5117cb928f39227b57c59a274 100644 (file)
@@ -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) \