summaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h
index 52da6395..ad727a86 100644
--- 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
}