summary refs log tree commit diff
path: root/stdlib/stdlib.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-11 14:49:17 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-11 14:49:17 -0800
commit21487cc929b7f3621327e619237bc473222ddb00 (patch)
treed82148b7b30587e7277b43432f7c9b260c06b813 /stdlib/stdlib.h
parent7cdb5a32f9708af6f0dbef8c47bbd8b864d0c62e (diff)
downloadglibc-21487cc929b7f3621327e619237bc473222ddb00.tar.gz
glibc-21487cc929b7f3621327e619237bc473222ddb00.tar.xz
glibc-21487cc929b7f3621327e619237bc473222ddb00.zip
Fix handling symbols removed in XPG7.
Diffstat (limited to 'stdlib/stdlib.h')
-rw-r--r--stdlib/stdlib.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 8669f35d76..75750205c8 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -497,8 +497,8 @@ extern void cfree (void *__ptr) __THROW;
 # include <alloca.h>
 #endif /* Use GNU, BSD, or misc.  */
 
-#if (defined __USE_BSD || defined __USE_XOPEN_EXTENDED) \
-    && !defined __USE_XOPEN2K
+#if ((defined __USE_BSD || defined __USE_XOPEN_EXTENDED)	\
+     && !defined __USE_XOPEN2K) || defined __USE_GNU
 /* Allocate SIZE bytes on a page boundary.  The storage cannot be freed.  */
 extern void *valloc (size_t __size) __THROW __attribute_malloc__ __wur;
 #endif
@@ -597,8 +597,8 @@ extern int clearenv (void) __THROW;
 #endif
 
 
-#if (defined __USE_MISC || defined __USE_XOPEN_EXTENDED) \
-    && !defined __USE_XOPEN2K
+#if ((defined __USE_MISC || defined __USE_XOPEN_EXTENDED)	\
+     && !defined __USE_XOPEN2K) || defined __USE_GNU
 /* 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.
@@ -797,8 +797,8 @@ __END_NAMESPACE_C99
 #endif
 
 
-#if (defined __USE_SVID || defined __USE_XOPEN_EXTENDED) \
-    && !defined __USE_XOPEN2K
+#if ((defined __USE_SVID || defined __USE_XOPEN_EXTENDED)	\
+     && !defined __USE_XOPEN2K) || defined __USE_GNU
 /* Convert floating point numbers to strings.  The returned values are
    valid only until another call to the same function.  */