summaryrefslogtreecommitdiff
path: root/include/wctype.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wctype.h')
-rw-r--r--include/wctype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wctype.h b/include/wctype.h
index 3da12195..bc2420d3 100644
--- a/include/wctype.h
+++ b/include/wctype.h
@@ -45,7 +45,7 @@ wctype_t wctype(const char *);
#ifndef __cplusplus
#undef iswdigit
-#define iswdigit(a) (((unsigned)(a)-L'0') < 10)
+#define iswdigit(a) (0 ? iswdigit(a) : ((unsigned)(a)-'0') < 10)
#endif
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \