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:
Stefano Ceccherini 2008-10-09 14:58:45 +00:00
parent aa420f85e2
commit 026c75e91c
2 changed files with 5 additions and 3 deletions

View File

@ -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
;

View File

@ -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)
*/