summaryrefslogtreecommitdiffstats
path: root/include/wchar.h
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-08-03 04:18:40 +0000
committertjr <tjr@FreeBSD.org>2002-08-03 04:18:40 +0000
commit2ddf585cade5416ac291172579ad3c3b3f5a38a3 (patch)
tree2ae8f05b347bfb78175d1e7470f3233c5c8d4092 /include/wchar.h
parent1d09617e8112714b60586d5e36869a247409dfea (diff)
downloadFreeBSD-src-2ddf585cade5416ac291172579ad3c3b3f5a38a3.zip
FreeBSD-src-2ddf585cade5416ac291172579ad3c3b3f5a38a3.tar.gz
Add ISO C90 Amd. 1 wctype(3) and iswctype(3) functions.
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h
index df77b41..0c174bd 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -95,6 +95,11 @@ typedef _BSD_SIZE_T_ size_t;
#undef _BSD_SIZE_T_
#endif
+#ifndef _WCTYPE_T
+typedef long wctype_t;
+#define _WCTYPE_T
+#endif
+
#ifndef WEOF
#define WEOF ((wint_t)-1)
#endif
OpenPOWER on IntegriCloud