powerpc: Update AT_HWCAP2 bits
[glibc.git] / libio / bits / stdio-ldbl.h
blobcaa1e538c336eb55e3029269c0bf9f7af644ba89
1 /* -mlong-double-64 compatibility mode for stdio functions.
2 Copyright (C) 2006-2017 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <http://www.gnu.org/licenses/>. */
19 #ifndef _STDIO_H
20 # error "Never include <bits/stdio-ldbl.h> directly; use <stdio.h> instead."
21 #endif
23 __LDBL_REDIR_DECL (fprintf)
24 __LDBL_REDIR_DECL (printf)
25 __LDBL_REDIR_DECL (sprintf)
26 __LDBL_REDIR_DECL (vfprintf)
27 __LDBL_REDIR_DECL (vprintf)
28 __LDBL_REDIR_DECL (vsprintf)
29 #if defined __USE_ISOC99 && !defined __USE_GNU \
30 && !defined __REDIRECT \
31 && (defined __STRICT_ANSI__ || defined __USE_XOPEN2K)
32 __LDBL_REDIR1_DECL (fscanf, __nldbl___isoc99_fscanf)
33 __LDBL_REDIR1_DECL (scanf, __nldbl___isoc99_scanf)
34 __LDBL_REDIR1_DECL (sscanf, __nldbl___isoc99_sscanf)
35 #else
36 __LDBL_REDIR_DECL (fscanf)
37 __LDBL_REDIR_DECL (scanf)
38 __LDBL_REDIR_DECL (sscanf)
39 #endif
41 #if defined __USE_ISOC99 || defined __USE_UNIX98
42 __LDBL_REDIR_DECL (snprintf)
43 __LDBL_REDIR_DECL (vsnprintf)
44 #endif
46 #ifdef __USE_ISOC99
47 # if !defined __USE_GNU && !defined __REDIRECT \
48 && (defined __STRICT_ANSI__ || defined __USE_XOPEN2K)
49 __LDBL_REDIR1_DECL (vfscanf, __nldbl___isoc99_vfscanf)
50 __LDBL_REDIR1_DECL (vscanf, __nldbl___isoc99_vscanf)
51 __LDBL_REDIR1_DECL (vsscanf, __nldbl___isoc99_vsscanf)
52 # else
53 __LDBL_REDIR_DECL (vfscanf)
54 __LDBL_REDIR_DECL (vsscanf)
55 __LDBL_REDIR_DECL (vscanf)
56 # endif
57 #endif
59 #ifdef __USE_XOPEN2K8
60 __LDBL_REDIR_DECL (vdprintf)
61 __LDBL_REDIR_DECL (dprintf)
62 #endif
64 #ifdef __USE_GNU
65 __LDBL_REDIR_DECL (vasprintf)
66 __LDBL_REDIR_DECL (__asprintf)
67 __LDBL_REDIR_DECL (asprintf)
68 __LDBL_REDIR_DECL (obstack_printf)
69 __LDBL_REDIR_DECL (obstack_vprintf)
70 #endif
72 #if __USE_FORTIFY_LEVEL > 0 && defined __fortify_function
73 __LDBL_REDIR_DECL (__sprintf_chk)
74 __LDBL_REDIR_DECL (__vsprintf_chk)
75 # if defined __USE_ISOC99 || defined __USE_UNIX98
76 __LDBL_REDIR_DECL (__snprintf_chk)
77 __LDBL_REDIR_DECL (__vsnprintf_chk)
78 # endif
79 # if __USE_FORTIFY_LEVEL > 1
80 __LDBL_REDIR_DECL (__fprintf_chk)
81 __LDBL_REDIR_DECL (__printf_chk)
82 __LDBL_REDIR_DECL (__vfprintf_chk)
83 __LDBL_REDIR_DECL (__vprintf_chk)
84 # ifdef __USE_XOPEN2K8
85 __LDBL_REDIR_DECL (__dprintf_chk)
86 __LDBL_REDIR_DECL (__vdprintf_chk)
87 # endif
88 # ifdef __USE_GNU
89 __LDBL_REDIR_DECL (__asprintf_chk)
90 __LDBL_REDIR_DECL (__vasprintf_chk)
91 __LDBL_REDIR_DECL (__obstack_printf_chk)
92 __LDBL_REDIR_DECL (__obstack_vprintf_chk)
93 # endif
94 # endif
95 #endif