diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-14 17:33:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-14 17:33:02 +0000 |
commit | a10591ac8c21dcac8189e6d31f1f1016aa62707f (patch) | |
tree | 2109b17bb4a54875c240b3349f0bb32181eb1ef8 /encoding.c | |
parent | 0953efabbb990bf84d2436b2f140494a1c86ec3d (diff) | |
download | ruby-a10591ac8c21dcac8189e6d31f1f1016aa62707f.tar.gz |
encoding.c: NO_PRESERVED_ENCODING
* encoding.c (rb_enc_init): no longer needs NO_PRESERVED_ENCODING.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
-rw-r--r-- | encoding.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/encoding.c b/encoding.c index dc13fc924a..1d17e05e14 100644 --- a/encoding.c +++ b/encoding.c @@ -564,7 +564,6 @@ rb_enc_init(void) ENC_REGISTER(UTF_8); ENC_REGISTER(US_ASCII); #undef ENC_REGISTER -#ifndef NO_PRESERVED_ENCODING #define ENCDB_REGISTER(name, enc) enc_register_at(ENCINDEX_##enc, name, NULL) ENCDB_REGISTER("UTF-16BE", UTF_16BE); ENCDB_REGISTER("UTF-16LE", UTF_16LE); @@ -577,7 +576,6 @@ rb_enc_init(void) ENCDB_REGISTER("EUC-JP", EUC_JP); ENCDB_REGISTER("Windows-31J", Windows_31J); #undef ENCDB_REGISTER -#endif enc_table.count = ENCINDEX_BUILTIN_MAX; } |