Add bootstrap workaround needed by ctype.h addition for localedef
authorJohn Marino <draco@marino.st>
Tue, 1 Sep 2015 17:30:52 +0000 (19:30 +0200)
committerJohn Marino <draco@marino.st>
Tue, 1 Sep 2015 17:30:52 +0000 (19:30 +0200)
usr.bin/localedef/ctype.c

index 20396c7..a7d1e8a 100644 (file)
 #include "runefile.h"
 #include "avl.h"
 
+/* Needed for bootstrapping, _CTYPE_N not available before 1 Sep 2015 */
+#ifndef _CTYPE_N
+#define _CTYPE_N       0x00400000L
+#endif
 
 #define _ISUPPER       _CTYPE_U
 #define _ISLOWER       _CTYPE_L