Fix timevar.cc build on systems that don't have CLOCK_MONOTONIC
[official-gcc.git] / libstdc++-v3 / include / c_compatibility / wchar.h
bloba743adf8c55bba82ebb2f501b018b9f3b575b796
1 // -*- C++ -*- compatibility header.
3 // Copyright (C) 2002-2024 Free Software Foundation, Inc.
4 //
5 // This file is part of the GNU ISO C++ Library. This library is free
6 // software; you can redistribute it and/or modify it under the
7 // terms of the GNU General Public License as published by the
8 // Free Software Foundation; either version 3, or (at your option)
9 // any later version.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // Under Section 7 of GPL version 3, you are granted additional
17 // permissions described in the GCC Runtime Library Exception, version
18 // 3.1, as published by the Free Software Foundation.
20 // You should have received a copy of the GNU General Public License and
21 // a copy of the GCC Runtime Library Exception along with this program;
22 // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
23 // <http://www.gnu.org/licenses/>.
25 /** @file wchar.h
26 * This is a Standard C++ Library header.
29 #ifndef _GLIBCXX_WCHAR_H
30 #define _GLIBCXX_WCHAR_H 1
32 #include <cwchar>
34 #ifdef _GLIBCXX_NAMESPACE_C
35 using std::mbstate_t;
37 #if _GLIBCXX_USE_WCHAR_T
38 using std::wint_t;
40 using std::btowc;
41 using std::wctob;
42 using std::fgetwc;
43 using std::fgetws;
44 using std::fputwc;
45 using std::fputws;
46 using std::fwide;
47 using std::fwprintf;
48 using std::fwscanf;
49 using std::swprintf;
50 using std::swscanf;
51 using std::vfwprintf;
52 #if _GLIBCXX_HAVE_VFWSCANF
53 using std::vfwscanf;
54 #endif
55 using std::vswprintf;
56 #if _GLIBCXX_HAVE_VSWSCANF
57 using std::vswscanf;
58 #endif
59 using std::vwprintf;
60 #if _GLIBCXX_HAVE_VWSCANF
61 using std::vwscanf;
62 #endif
63 using std::wprintf;
64 using std::wscanf;
65 using std::getwc;
66 using std::getwchar;
67 using std::mbsinit;
68 using std::mbrlen;
69 using std::mbrtowc;
70 using std::mbsrtowcs;
71 using std::wcsrtombs;
72 using std::putwc;
73 using std::putwchar;
74 using std::ungetwc;
75 using std::wcrtomb;
76 using std::wcstod;
77 #if _GLIBCXX_HAVE_WCSTOF
78 using std::wcstof;
79 #endif
80 using std::wcstol;
81 using std::wcstoul;
82 using std::wcscpy;
83 using std::wcsncpy;
84 using std::wcscat;
85 using std::wcsncat;
86 using std::wcscmp;
87 using std::wcscoll;
88 using std::wcsncmmp;
89 using std::wcsxfrm;
90 using std::wcschr;
91 using std::wcscspn;
92 using std::wcslen;
93 using std::wcspbrk;
94 using std::wcsrchr;
95 using std::wcsspn;
96 using std::wcsstr;
97 using std::wcstok;
98 using std::wmemchr;
99 using std::wmemcmp;
100 using std::wmemcpy;
101 using std::wmemmove;
102 using std::wmemset;
103 using std::wcsftime;
105 #if _GLIBCXX_USE_C99_WCHAR
106 using std::wcstold;
107 using std::wcstoll;
108 using std::wcstoull;
109 #endif
111 #endif //_GLIBCXX_USE_WCHAR_T
113 #endif
115 #endif