summaryrefslogtreecommitdiff
path: root/enc/sjis.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-20 08:07:56 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-20 08:07:56 +0000
commitdc4d4b3923cbb832f69abdc0df6d9ee0ea38cae1 (patch)
treefcfaf15c7c5843954940f34a66abee4e68901b89 /enc/sjis.c
parentbe137f3601610491d4265a4f9c87bf52fef28d66 (diff)
* common.mk (enc.mk): depends on rbconfig.rb.
* regenc.h (OnigEncodingDefine): external encoding definition macro. * enc/Makefile.in: fix for linking. * enc/depend, enc/make_encmake.rb: fix for Windows. * enc/{ascii,euc_jp,sjis,utf8,iso_8859_{1..16}}.c: renamed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/sjis.c')
-rw-r--r--enc/sjis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/sjis.c b/enc/sjis.c
index ff7da34..e3d656f 100644
--- a/enc/sjis.c
+++ b/enc/sjis.c
@@ -351,7 +351,7 @@ get_ctype_code_range(int ctype, OnigCodePoint* sb_out,
}
}
-OnigEncodingType OnigEncodingSJIS = {
+OnigEncodingDefine(SJIS) = {
mbc_enc_len,
"Shift_JIS", /* name */
2, /* max byte length */