summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-02-03 09:47:53 +0000
committerJakub Jelinek <jakub@redhat.com>2006-02-03 09:47:53 +0000
commitf085204b8476ace8e9653c6a96dd5330da5bd672 (patch)
tree03218a076f6b8d7980f0df3263aa576f99fe1948
parent36dbaf996768766212ecab9ef72ea181629cc02d (diff)
* stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r,cvs/fedora-glibc-2_3_90-35
qfcvt_r): Guard with #if defined __USE_SVID || defined __USE_XOPEN_EXTENDED.
-rw-r--r--ChangeLog4
-rw-r--r--stdlib/bits/stdlib-ldbl.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 202ae32a38..1e0e640a40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2006-02-03 Jakub Jelinek <jakub@redhat.com>
+ * stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r,
+ qfcvt_r): Guard with #if defined __USE_SVID || defined
+ __USE_XOPEN_EXTENDED.
+
* sysdeps/unix/sysv/linux/futimesat.c (futimesat): If
file == NULL, use __futimes unconditionally.
diff --git a/stdlib/bits/stdlib-ldbl.h b/stdlib/bits/stdlib-ldbl.h
index f966bd92e7..b197c5754d 100644
--- a/stdlib/bits/stdlib-ldbl.h
+++ b/stdlib/bits/stdlib-ldbl.h
@@ -33,10 +33,12 @@ __LDBL_REDIR1_DECL (strtold_l, strtod_l)
__LDBL_REDIR1_DECL (__strtold_internal, __strtod_internal)
-#ifdef __USE_MISC
+#if defined __USE_SVID || defined __USE_XOPEN_EXTENDED
+# ifdef __USE_MISC
__LDBL_REDIR1_DECL (qecvt, ecvt)
__LDBL_REDIR1_DECL (qfcvt, fcvt)
__LDBL_REDIR1_DECL (qgcvt, gcvt)
__LDBL_REDIR1_DECL (qecvt_r, ecvt_r)
__LDBL_REDIR1_DECL (qfcvt_r, fcvt_r)
+# endif
#endif