summaryrefslogtreecommitdiffstats
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
commitc9e5e4798fffe7e8da8ac1a13e7aa3c4379ab6a9 (patch)
treef484706dbbe24fd9cf7f4ea64a974328a291ea78 /file.c
parente7520fc4cdc1fd84a09f398f173e5742062dcd3c (diff)
downloadruby-c9e5e4798fffe7e8da8ac1a13e7aa3c4379ab6a9.tar.gz
ruby-c9e5e4798fffe7e8da8ac1a13e7aa3c4379ab6a9.tar.xz
ruby-c9e5e4798fffe7e8da8ac1a13e7aa3c4379ab6a9.zip
2000-06-08
git-svn-id: http://svn.ruby-lang.org/repos/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 6d99c3016..816277049 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);