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 46aa92c..51406da 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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.
        * tests/test-ftell.c (main): Disable the fseek/ftell test on HP-UX.
        * tests/test-ftello.c (main): Likewise.
index 2fa15c0..c08056c 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 148a27f..08042be 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) \