diff options
author | Brian Fraser <fraserbn@gmail.com> | 2014-01-23 15:57:50 +0100 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-01-23 15:57:50 +0100 |
commit | 841f64f7c7eb22521dacc4f991563d0e0f780e37 (patch) | |
tree | 5e7ad6d3032b04ebfd34e67a2a4aab79d2febb50 /handy.h | |
parent | c4065ba0aa6d33775b5b3c6322a4700ab9e8455c (diff) | |
download | perl-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |