summaryrefslogtreecommitdiff
path: root/include/wctype.h
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2007-10-14 10:23:54 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2007-10-14 10:23:54 +0000
commitce0d9ca3db888c5a57aea0ad594b4545ad905c0e (patch)
treec74ecfaadb66af5eebfa46fa489638f37955a8cf /include/wctype.h
parent98e7b7536b239e53a3ed9bd67c2b894d05a5510f (diff)
downloadsrc-test2-ce0d9ca3db888c5a57aea0ad594b4545ad905c0e.tar.gz
src-test2-ce0d9ca3db888c5a57aea0ad594b4545ad905c0e.zip
Notes
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 31f401ff76e6..098045fa11a5 100644
--- a/include/wctype.h
+++ b/include/wctype.h
@@ -106,7 +106,7 @@ __END_DECLS
#define towupper(wc) __toupper(wc)
#if __BSD_VISIBLE
-#define iswascii(wc) ((wc) < 0x80)
+#define iswascii(wc) (((wc) & ~0x7F) == 0)
#define iswhexnumber(wc) __istype((wc), _CTYPE_X)
#define iswideogram(wc) __istype((wc), _CTYPE_I)
#define iswnumber(wc) __istype((wc), _CTYPE_D)