aboutsummaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-23 00:03:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-23 00:03:37 +0000
commit88783116e06ff7cd5e43041b2c598fe76cfe98db (patch)
treea75ccdbc97a561fc98deed125821346951467aab /ruby.c
parent4558e2d1b8f003bece469c29cc18600ec248eb70 (diff)
downloadruby-88783116e06ff7cd5e43041b2c598fe76cfe98db.tar.gz
ruby.c: fix command line encoding on cygwin
* ruby.c: cygwin does not use w32_cmdvector, command line can be other than UTF-8. [ruby-dev:49519] [Bug #12184] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ruby.c b/ruby.c
index 7d06800c7c..128de434d2 100644
--- a/ruby.c
+++ b/ruby.c
@@ -396,7 +396,9 @@ translit_char_bin(char *p, int from, int to)
p++;
}
}
+#endif
+#ifdef _WIN32
# define UTF8_PATH 1
#endif