summaryrefslogtreecommitdiff
path: root/locale/lc-ctype.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/lc-ctype.c')
-rw-r--r--locale/lc-ctype.c5
1 files changed, 3 insertions, 2 deletions
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);