aboutsummaryrefslogtreecommitdiff
path: root/libio/bits
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-02-27 14:00:47 -0800
committerRoland McGrath <roland@hack.frob.com>2012-02-27 14:00:47 -0800
commit36c8acb4f8383a52ba0f25a99276ebec31f8c281 (patch)
tree814f5fbb3b8c5d8461f8d5ba1034291ee4d18355 /libio/bits
parent84ad622bbf4b1c22f68414532f5a8a88557bf9bd (diff)
downloadglibc-36c8acb4f8383a52ba0f25a99276ebec31f8c281.tar
glibc-36c8acb4f8383a52ba0f25a99276ebec31f8c281.tar.gz
glibc-36c8acb4f8383a52ba0f25a99276ebec31f8c281.tar.bz2
glibc-36c8acb4f8383a52ba0f25a99276ebec31f8c281.zip
BZ#13775: Fix vdprintf/dprintf ldbl-compat decl feature test conditional.
Diffstat (limited to 'libio/bits')
-rw-r--r--libio/bits/stdio-ldbl.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libio/bits/stdio-ldbl.h b/libio/bits/stdio-ldbl.h
index 34b139bf92..5700dd9d7d 100644
--- a/libio/bits/stdio-ldbl.h
+++ b/libio/bits/stdio-ldbl.h
@@ -1,5 +1,5 @@
/* -mlong-double-64 compatibility mode for stdio functions.
- Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2006-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -62,9 +62,12 @@ __LDBL_REDIR_DECL (vscanf)
__END_NAMESPACE_C99
#endif
-#ifdef __USE_GNU
+#ifdef __USE_XOPEN2K8
__LDBL_REDIR_DECL (vdprintf)
__LDBL_REDIR_DECL (dprintf)
+#endif
+
+#ifdef __USE_GNU
__LDBL_REDIR_DECL (vasprintf)
__LDBL_REDIR_DECL (__asprintf)
__LDBL_REDIR_DECL (asprintf)