Be a bit more relaxed about obsoleted mktemp symbol.
authorUlrich Drepper <drepper@redhat.com>
Wed, 13 Jan 2010 15:15:17 +0000 (07:15 -0800)
committerUlrich Drepper <drepper@redhat.com>
Wed, 13 Jan 2010 15:15:17 +0000 (07:15 -0800)
ChangeLog
stdlib/stdlib.h

index 61c64db..736bd5d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-13  Ulrich Drepper  <drepper@redhat.com>
+
+       * stdlib/stdlib.h: Be a bit more relaxed about obsoleted mktemp symbol.
+
 2010-01-12  Ulrich Drepper  <drepper@redhat.com>
 
        * conform/data/complex.h-data: Test for POSIX2008.
index 7575020..bac8ed6 100644 (file)
@@ -597,8 +597,8 @@ extern int clearenv (void) __THROW;
 #endif
 
 
-#if ((defined __USE_MISC || defined __USE_XOPEN_EXTENDED)      \
-     && !defined __USE_XOPEN2K) || defined __USE_GNU
+#if defined __USE_MISC \
+    || (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K)
 /* Generate a unique temporary file name from TEMPLATE.
    The last six characters of TEMPLATE must be "XXXXXX";
    they are replaced with a string that makes the file name unique.