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
commit8e4d2e94af0fc9966c7fc2be2d4c473e4881e976 (patch)
treea75ccdbc97a561fc98deed125821346951467aab /ruby.c
parent9c5e4618457438f5fe0bcc51093e740915abc68d (diff)
downloadruby-8e4d2e94af0fc9966c7fc2be2d4c473e4881e976.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