]> git.ipfire.org Git - thirdparty/glibc.git/blob - wcsmbs/bits/wchar-ldbl.h
a3378014f3923cf948cb56f2d4d5d79ec47c0f0f
[thirdparty/glibc.git] / wcsmbs / bits / wchar-ldbl.h
1 /* -mlong-double-64 compatibility mode for <wchar.h> functions.
2 Copyright (C) 2006-2019 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
4
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.
9
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.
14
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/>. */
18
19 #ifndef _WCHAR_H
20 # error "Never include <bits/wchar-ldbl.h> directly; use <wchar.h> instead."
21 #endif
22
23 #if defined __USE_ISOC95 || defined __USE_UNIX98
24 __LDBL_REDIR_DECL (fwprintf);
25 __LDBL_REDIR_DECL (wprintf);
26 __LDBL_REDIR_DECL (swprintf);
27 __LDBL_REDIR_DECL (vfwprintf);
28 __LDBL_REDIR_DECL (vwprintf);
29 __LDBL_REDIR_DECL (vswprintf);
30 # if !__GLIBC_USE (DEPRECATED_SCANF)
31 __LDBL_REDIR1_DECL (fwscanf, __nldbl___isoc99_fwscanf)
32 __LDBL_REDIR1_DECL (wscanf, __nldbl___isoc99_wscanf)
33 __LDBL_REDIR1_DECL (swscanf, __nldbl___isoc99_swscanf)
34 # else
35 __LDBL_REDIR_DECL (fwscanf);
36 __LDBL_REDIR_DECL (wscanf);
37 __LDBL_REDIR_DECL (swscanf);
38 # endif
39 #endif
40
41 #ifdef __USE_ISOC99
42 __LDBL_REDIR1_DECL (wcstold, wcstod);
43 # if !__GLIBC_USE (DEPRECATED_SCANF)
44 __LDBL_REDIR1_DECL (vfwscanf, __nldbl___isoc99_vfwscanf)
45 __LDBL_REDIR1_DECL (vwscanf, __nldbl___isoc99_vwscanf)
46 __LDBL_REDIR1_DECL (vswscanf, __nldbl___isoc99_vswscanf)
47 # else
48 __LDBL_REDIR_DECL (vfwscanf);
49 __LDBL_REDIR_DECL (vwscanf);
50 __LDBL_REDIR_DECL (vswscanf);
51 # endif
52 #endif
53
54 #ifdef __USE_GNU
55 __LDBL_REDIR1_DECL (wcstold_l, wcstod_l);
56 #endif
57
58 #if __USE_FORTIFY_LEVEL > 0 && defined __fortify_function
59 __LDBL_REDIR_DECL (__swprintf_chk)
60 __LDBL_REDIR_DECL (__vswprintf_chk)
61 # if __USE_FORTIFY_LEVEL > 1
62 __LDBL_REDIR_DECL (__fwprintf_chk)
63 __LDBL_REDIR_DECL (__wprintf_chk)
64 __LDBL_REDIR_DECL (__vfwprintf_chk)
65 __LDBL_REDIR_DECL (__vwprintf_chk)
66 # endif
67 #endif