diff options
author | SADAHIRO Tomoyuki <BQW10602@nifty.com> | 2005-10-08 09:59:00 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-10-09 14:31:47 +0000 |
commit | 77263263f2dcc1d77fff24405b11002b13929822 (patch) | |
tree | dc9b521116d6104bbd0abe76331b7a9929b240f5 /utf8.h | |
parent | 779ec47719855ab60e913a3e26cf358bbda748ab (diff) | |
download | perl-77263263f2dcc1d77fff24405b11002b13929822.tar.gz |
undef IS_UTF8_CHAR() on EBCDIC
Message-Id: <20051008165752.348A.BQW10602@nifty.com>
p4raw-id: //depot/perl@25716
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -258,6 +258,9 @@ encoded character. #endif #define SHARP_S_SKIP 2 +#ifdef EBCDIC +/* IS_UTF8_CHAR() is not ported to EBCDIC */ +#else #define IS_UTF8_CHAR_1(p) \ ((p)[0] <= 0x7F) #define IS_UTF8_CHAR_2(p) \ @@ -329,3 +332,4 @@ encoded character. #define IS_UTF8_CHAR_FAST(n) ((n) <= 4) +#endif /* IS_UTF8_CHAR() for UTF-8 */ |