summaryrefslogtreecommitdiffstats
path: root/include/wctype.h
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2012-03-04 15:31:13 +0000
committertheraven <theraven@FreeBSD.org>2012-03-04 15:31:13 +0000
commitb0968176b3a821598a31de6698e01931d1417584 (patch)
treeefbc43bd49ea1f884ea3864a768f788cee4827e7 /include/wctype.h
parent857b0ba99662198d5ba4e3609b908ede4434b182 (diff)
downloadFreeBSD-src-b0968176b3a821598a31de6698e01931d1417584.zip
FreeBSD-src-b0968176b3a821598a31de6698e01931d1417584.tar.gz
Reapply 227753 (xlocale cleanup), plus some fixes so that it passes build
universe with gcc. Approved by: dim (mentor)
Diffstat (limited to 'include/wctype.h')
-rw-r--r--include/wctype.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wctype.h b/include/wctype.h
index 183a2cd..2a2abd9 100644
--- a/include/wctype.h
+++ b/include/wctype.h
@@ -87,6 +87,11 @@ wint_t iswrune(wint_t);
wint_t iswspecial(wint_t);
wint_t nextwctype(wint_t, wctype_t);
#endif
+
+#if __POSIX_VISIBLE >= 200809
+#define _XLOCALE_WCTYPES 1
+#include <xlocale/_ctype.h>
+#endif /* __POSIX_VISIBLE >= 200809 */
__END_DECLS
#ifndef __cplusplus
OpenPOWER on IntegriCloud