aboutsummaryrefslogtreecommitdiff
path: root/stdlib/bits/stdlib-ldbl.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/bits/stdlib-ldbl.h')
-rw-r--r--stdlib/bits/stdlib-ldbl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/bits/stdlib-ldbl.h b/stdlib/bits/stdlib-ldbl.h
index f966bd9..b197c57 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