add ctype-extn.c to the build. It contains the function versions of the is*** defines. Without this, bash 3 refuses to compile on haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27946 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
aa420f85e2
commit
026c75e91c
@ -10,5 +10,6 @@ SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ;
|
||||
|
||||
MergeObject posix_gnu_ctype.o :
|
||||
ctype.c
|
||||
ctype-extn.c
|
||||
ctype-info.c
|
||||
;
|
||||
|
@ -18,12 +18,12 @@
|
||||
|
||||
#define __NO_CTYPE
|
||||
#include <ctype.h>
|
||||
|
||||
/*
|
||||
#define __ctype_tolower \
|
||||
((uint32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOLOWER) + 128)
|
||||
#define __ctype_toupper \
|
||||
((uint32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
|
||||
|
||||
*/
|
||||
/* Real function versions of the non-ANSI ctype functions. isblank is
|
||||
now in ISO C99 but we leave it here. */
|
||||
|
||||
@ -58,10 +58,11 @@ isascii (int c)
|
||||
}
|
||||
weak_alias (isascii, __isascii_l)
|
||||
|
||||
|
||||
/*
|
||||
int
|
||||
__isblank_l (int c, __locale_t l)
|
||||
{
|
||||
return __isctype_l (c, _ISblank, l);
|
||||
}
|
||||
weak_alias (__isblank_l, isblank_l)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user