summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-07 15:49:37 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-07 15:49:37 +0000
commiteb4c6c241d2032ac858c481b35de72dee28bad74 (patch)
treef484706dbbe24fd9cf7f4ea64a974328a291ea78 /file.c
parent0dedfa849c885b52745e46ec0620cf01a1533fbc (diff)
2000-06-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 6d99c3016d..816277049d 100644
--- a/file.c
+++ b/file.c
@@ -2167,7 +2167,7 @@ Init_File()
rb_define_singleton_method(rb_cFile, "split", rb_file_s_split, 1);
rb_define_singleton_method(rb_cFile, "join", rb_file_s_join, -2);
-#ifdef DOSISH
+#if defined DOSISH && !defined __CYGWIN__
rb_define_const(rb_cFile, "ALT_SEPARATOR", rb_str_new2("\\"));
#else
rb_define_const(rb_cFile, "ALT_SEPARATOR", Qnil);