From 9bde902c768916daeec9983dcc0c8c420cd3895d Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 9 Nov 2012 21:16:58 +0000 Subject: Declare ecvt, fcvt, gcvt, mktemp in stdlib.h for XOPEN2K (bug 14824). --- stdlib/stdlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib') diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h index 0eb982c..fc83f4e 100644 --- a/stdlib/stdlib.h +++ b/stdlib/stdlib.h @@ -596,7 +596,7 @@ extern int clearenv (void) __THROW; #if defined __USE_MISC \ - || (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K) + || (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K8) /* 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. @@ -796,7 +796,7 @@ __END_NAMESPACE_C99 #endif -#if (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K) \ +#if (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K8) \ || defined __USE_SVID /* Convert floating point numbers to strings. The returned values are valid only until another call to the same function. */ -- cgit v1.1