about summary refs log tree commit diff
path: root/libio/bits/stdio-ldbl.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-05-03 18:42:37 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-05-03 18:42:37 +0000
commit54b71e02837f199b5b1eafcbb3c19b7b81df5561 (patch)
tree94e092ce8bff5ca17ec70af3b699755c97303d5f /libio/bits/stdio-ldbl.h
parentd3dfcc4187a4e790d72ede37f8241a25adeb2483 (diff)
downloadglibc-54b71e02837f199b5b1eafcbb3c19b7b81df5561.tar.gz
glibc-54b71e02837f199b5b1eafcbb3c19b7b81df5561.tar.xz
glibc-54b71e02837f199b5b1eafcbb3c19b7b81df5561.zip
Fix conditions on checking versions of dprintf (bug 13775).
Diffstat (limited to 'libio/bits/stdio-ldbl.h')
-rw-r--r--libio/bits/stdio-ldbl.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libio/bits/stdio-ldbl.h b/libio/bits/stdio-ldbl.h
index 3cc6ec416d..4ee043e42c 100644
--- a/libio/bits/stdio-ldbl.h
+++ b/libio/bits/stdio-ldbl.h
@@ -87,11 +87,13 @@ __LDBL_REDIR_DECL (__fprintf_chk)
 __LDBL_REDIR_DECL (__printf_chk)
 __LDBL_REDIR_DECL (__vfprintf_chk)
 __LDBL_REDIR_DECL (__vprintf_chk)
+#  ifdef __USE_XOPEN2K8
+__LDBL_REDIR_DECL (__dprintf_chk)
+__LDBL_REDIR_DECL (__vdprintf_chk)
+#  endif
 #  ifdef __USE_GNU
 __LDBL_REDIR_DECL (__asprintf_chk)
 __LDBL_REDIR_DECL (__vasprintf_chk)
-__LDBL_REDIR_DECL (__dprintf_chk)
-__LDBL_REDIR_DECL (__vdprintf_chk)
 __LDBL_REDIR_DECL (__obstack_printf_chk)
 __LDBL_REDIR_DECL (__obstack_vprintf_chk)
 #  endif