projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add more of the locale_t interfaces, all dummied out to ignore the locale
[musl]
/
include
/
wctype.h
diff --git
a/include/wctype.h
b/include/wctype.h
index
3a5af6e
..
ee5be7c
100644
(file)
--- a/
include/wctype.h
+++ b/
include/wctype.h
@@
-9,6
+9,11
@@
extern "C" {
#define __NEED_wctrans_t
#define __NEED_wctype_t
+#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
+ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
+#define __NEED_locale_t
+#endif
+
#include <bits/alltypes.h>
#undef WEOF