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:
@@ -10,5 +10,6 @@ SubDirSysHdrs $(HAIKU_TOP) src system libroot posix glibc ;
|
|||||||
|
|
||||||
MergeObject posix_gnu_ctype.o :
|
MergeObject posix_gnu_ctype.o :
|
||||||
ctype.c
|
ctype.c
|
||||||
|
ctype-extn.c
|
||||||
ctype-info.c
|
ctype-info.c
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -18,12 +18,12 @@
|
|||||||
|
|
||||||
#define __NO_CTYPE
|
#define __NO_CTYPE
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
/*
|
||||||
#define __ctype_tolower \
|
#define __ctype_tolower \
|
||||||
((uint32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOLOWER) + 128)
|
((uint32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOLOWER) + 128)
|
||||||
#define __ctype_toupper \
|
#define __ctype_toupper \
|
||||||
((uint32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
|
((uint32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
|
||||||
|
*/
|
||||||
/* Real function versions of the non-ANSI ctype functions. isblank is
|
/* Real function versions of the non-ANSI ctype functions. isblank is
|
||||||
now in ISO C99 but we leave it here. */
|
now in ISO C99 but we leave it here. */
|
||||||
|
|
||||||
@@ -58,10 +58,11 @@ isascii (int c)
|
|||||||
}
|
}
|
||||||
weak_alias (isascii, __isascii_l)
|
weak_alias (isascii, __isascii_l)
|
||||||
|
|
||||||
|
/*
|
||||||
int
|
int
|
||||||
__isblank_l (int c, __locale_t l)
|
__isblank_l (int c, __locale_t l)
|
||||||
{
|
{
|
||||||
return __isctype_l (c, _ISblank, l);
|
return __isctype_l (c, _ISblank, l);
|
||||||
}
|
}
|
||||||
weak_alias (__isblank_l, isblank_l)
|
weak_alias (__isblank_l, isblank_l)
|
||||||
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user