From d8cc5f0c6a4c3efe88076c05c4e42cf2108b3763 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 10 Mar 1995 03:58:22 +0000 Subject: Thu Mar 9 22:29:03 1995 Roland McGrath * elf/elf.h (STN_UNDEF): Renamed to SHN_UNDEF (typo). (DT_NUM): New macro. * locale/nl_langinfo.c: Include errno.h and stddef.h. Fix typos. * locale/lc-ctype.c (_nl_postload_ctype): Fix macro insanity. * locale/loadlocale.c (_nl_load_locale) [! MAP_COPY]: Define MAP_COPY to MAP_PRIVATE. --- locale/lc-ctype.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'locale/lc-ctype.c') diff --git a/locale/lc-ctype.c b/locale/lc-ctype.c index c634d12adb..2384d17a39 100644 --- a/locale/lc-ctype.c +++ b/locale/lc-ctype.c @@ -40,10 +40,11 @@ _nl_postload_ctype (void) #else #error bizarre byte order #endif -#define eval(x) x +#define paste(a,b) paste1(a,b) +#define paste1(a,b) a##b #define current(unsigned,x) \ - ((const unsigned int *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_##eval(x)) \ + ((const unsigned int *) _NL_CURRENT (LC_CTYPE, paste(_NL_CTYPE_,x)) \ + 128) __ctype_b = current (unsigned short, CLASS); -- cgit 1.4.1