summaryrefslogtreecommitdiff
path: root/stdlib/bits/stdlib-ldbl.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-02-03 19:16:04 +0000
committerRoland McGrath <roland@gnu.org>2006-02-03 19:16:04 +0000
commitee926fc8f961697ee4c5d55da6c78716f12853c1 (patch)
tree279e23dedd25ef82e1592e8782b004db2a1d13b2 /stdlib/bits/stdlib-ldbl.h
parent42247128d60f0620ecaf78981429d3379e1d355b (diff)
* stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r):
Guard with [__USE_SVID || __USE_XOPEN_EXTENDED]. * math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New prototype. * math/math.h (__nldbl_nexttowardf): Put __THROW before __attribute__ ((__const__)). (__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT followed by __THROW.
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 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