summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorSADAHIRO Tomoyuki <BQW10602@nifty.com>2005-10-08 09:59:00 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-10-09 14:31:47 +0000
commit77263263f2dcc1d77fff24405b11002b13929822 (patch)
treedc9b521116d6104bbd0abe76331b7a9929b240f5 /utf8.h
parent779ec47719855ab60e913a3e26cf358bbda748ab (diff)
downloadperl-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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utf8.h b/utf8.h
index c8bcb361fd..4599407090 100644
--- a/utf8.h
+++ b/utf8.h
@@ -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 */