diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-12-22 19:37:42 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-12-22 19:37:42 +0000 |
commit | fd7cb28932b10967bdc6b5b22df7b182830362a3 (patch) | |
tree | 18732eb494ea18b6caed9949b29f3031b265d555 /utf8.h | |
parent | 329b93cd165ae2f0ce223aadada619c461255001 (diff) | |
download | perl-fd7cb28932b10967bdc6b5b22df7b182830362a3.tar.gz |
Compilation help for EBCDIC platforms, from Jarkko,
tested by Rajarshi Das
p4raw-id: //depot/perl@26452
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -16,12 +16,17 @@ # define USE_UTF8_IN_NAMES (PL_hints & HINT_UTF8) #endif +/* Source backward compatibility. */ +#define uvuni_to_utf8(d, uv) uvuni_to_utf8_flags(d, uv, 0) +#define is_utf8_string_loc(s, len, ep) is_utf8_string_loclen(s, len, ep, 0) + #ifdef EBCDIC /* The equivalent of these macros but implementing UTF-EBCDIC are in the following header file: */ #include "utfebcdic.h" + #else START_EXTERN_C @@ -332,7 +337,4 @@ encoded character. #define IS_UTF8_CHAR_FAST(n) ((n) <= 4) -#define uvuni_to_utf8(d, uv) uvuni_to_utf8_flags(d, uv, 0) -#define is_utf8_string_loc(s, len, ep) is_utf8_string_loclen(s, len, ep, 0) - #endif /* IS_UTF8_CHAR() for UTF-8 */ |