Fix ctype.h warning in lib/bcheck.c
This commit is contained in:
parent
f6e392a4af
commit
d5822b725e
1 changed files with 2 additions and 1 deletions
|
@ -887,7 +887,8 @@ void __bound_init(size_t *p, int mode)
|
|||
|
||||
#if HAVE_CTYPE
|
||||
#ifdef __APPLE__
|
||||
#warning fill out for MacOS (see <_ctype.h> and <runetype.h>)
|
||||
tree = splay_insert((size_t) &_DefaultRuneLocale,
|
||||
sizeof (_DefaultRuneLocale), tree);
|
||||
#else
|
||||
/* XXX: Does not work if locale is changed */
|
||||
tree = splay_insert((size_t) __ctype_b_loc(),
|
||||
|
|
Loading…
Reference in a new issue