aboutsummaryrefslogtreecommitdiff
path: root/stdlib/stdlib.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-13 07:15:17 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-13 07:15:17 -0800
commit52e96a8092e4c0bfef5bd9748b35861bba6f6b88 (patch)
tree90b6a2193748ab55448ca8c845300027993ba86d /stdlib/stdlib.h
parent2e3e1b3309f8a8d86c6b5f97cc6c347c05a0e44b (diff)
downloadglibc-52e96a8092e4c0bfef5bd9748b35861bba6f6b88.zip
glibc-52e96a8092e4c0bfef5bd9748b35861bba6f6b88.tar.gz
glibc-52e96a8092e4c0bfef5bd9748b35861bba6f6b88.tar.bz2
Be a bit more relaxed about obsoleted mktemp symbol.
Diffstat (limited to 'stdlib/stdlib.h')
-rw-r--r--stdlib/stdlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 7575020..bac8ed6 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -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.