summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2014-01-23 15:57:50 +0100
committerBrian Fraser <fraserbn@gmail.com>2014-01-23 15:57:50 +0100
commit841f64f7c7eb22521dacc4f991563d0e0f780e37 (patch)
tree5e7ad6d3032b04ebfd34e67a2a4aab79d2febb50 /handy.h
parentc4065ba0aa6d33775b5b3c6322a4700ab9e8455c (diff)
downloadperl-841f64f7c7eb22521dacc4f991563d0e0f780e37.tar.gz
handy.h: Move the _LC_CAST declaration.
Previous it was left so that some systems, like Android, didn't get this, which broke the build.
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/handy.h b/handy.h
index f98c8fb399..0714d4ea6d 100644
--- a/handy.h
+++ b/handy.h
@@ -1323,11 +1323,11 @@ EXTCONST U32 PL_charclass[];
#else /* !USE_NEXT_CTYPE */
+# define _LC_CAST U8
+
# if defined(CTYPE256) || (!defined(isascii) && !defined(HAS_ISASCII))
/* For most other platforms */
-# define _LC_CAST U8
-
# define isALPHA_LC(c) _generic_LC(c, _CC_ALPHA, isalpha)
# define isALPHANUMERIC_LC(c) _generic_LC(c, _CC_ALPHANUMERIC, isalnum)
# define isCNTRL_LC(c) _generic_LC(c, _CC_CNTRL, iscntrl)