diff options
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |