about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--stdio-common/tst-fdopen.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ba4e4bcb6..7aefd3bb8c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-12-17  Ulrich Drepper  <drepper@redhat.com>
+
+	* stdio-common/tst-fdopen.c: Undefine assert before redefining it.
+
 2002-12-16  Ulrich Drepper  <drepper@redhat.com>
 
 	* sysdeps/posix/system.c (do_system): Add support for installation
diff --git a/stdio-common/tst-fdopen.c b/stdio-common/tst-fdopen.c
index 98acaed83f..e70a0cd6a5 100644
--- a/stdio-common/tst-fdopen.c
+++ b/stdio-common/tst-fdopen.c
@@ -4,6 +4,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 
+#undef assert
 #define assert(x) \
   if (!(x)) \
     { \