File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
cpp/common/test/includes/standard-library Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change
1
+ #ifndef _GHLIBCPP_CWCTYPE
2
+ #define _GHLIBCPP_CWCTYPE
3
+
4
+ namespace std {
5
+ using ::wint_t;
6
+ } // namespace std
7
+
8
+ #endif // _GHLIBCPP_CWCTYPE
Original file line number Diff line number Diff line change 2
2
#define _GHLIBCPP_WCHAR
3
3
4
4
#include "stddef.h"
5
+ #include "wctype.h"
5
6
6
7
// Wide character I/O functions
7
- wchar_t fgetwc (void * stream );
8
- wchar_t fputwc (wchar_t wc , void * stream );
8
+ wint_t fgetwc (void * stream );
9
+ wint_t fputwc (wchar_t wc , void * stream );
9
10
10
11
// Wide character string conversion functions
11
12
long wcstol (const wchar_t * str , wchar_t * * endptr , int base );
Original file line number Diff line number Diff line change
1
+ #ifndef _GHLIBCPP_WCTYPE
2
+ #define _GHLIBCPP_WCTYPE
3
+
4
+ typedef long wint_t ;
5
+
6
+ #endif // _GHLIBCPP_WCTYPE
You can’t perform that action at this time.
0 commit comments