projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
suppress macro definitions of ctype functions under C++
[musl]
/
include
/
wchar.h
diff --git
a/include/wchar.h
b/include/wchar.h
index
52da639
..
ad727a8
100644
(file)
--- a/
include/wchar.h
+++ b/
include/wchar.h
@@
-172,9
+172,12
@@
int iswctype(wint_t, wctype_t);
wint_t towlower(wint_t);
wint_t towupper(wint_t);
wctype_t wctype(const char *);
+
+#ifndef __cplusplus
#undef iswdigit
#define iswdigit(a) ((unsigned)(a)-'0' < 10)
#endif
+#endif
#ifdef __cplusplus
}