projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make pthread_key_t unsigned to match ABI
[musl]
/
include
/
wctype.h
diff --git
a/include/wctype.h
b/include/wctype.h
index
f7be2cb
..
8c544f2
100644
(file)
--- a/
include/wctype.h
+++ b/
include/wctype.h
@@
-5,8
+5,9
@@
extern "C" {
#endif
extern "C" {
#endif
+#include <features.h>
+
#define __NEED_wint_t
#define __NEED_wint_t
-#define __NEED_wctrans_t
#define __NEED_wctype_t
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
#define __NEED_wctype_t
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
@@
-16,8
+17,10
@@
extern "C" {
#include <bits/alltypes.h>
#include <bits/alltypes.h>
+typedef const int * wctrans_t;
+
#undef WEOF
#undef WEOF
-#define WEOF
(-1)
+#define WEOF
0xffffffffU
#undef iswdigit
#undef iswdigit