diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-14 22:51:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-14 22:51:08 +0000 |
commit | ae0224673eaa8694536aeae3f5f594b7b07fd624 (patch) | |
tree | 39f21cefe04849be9df5fd74ff247d0663491cbc /file.c | |
parent | 71f4f96249e653ec65f138b52b15d777b342a6a6 (diff) | |
download | ruby-ae0224673eaa8694536aeae3f5f594b7b07fd624.tar.gz |
* file.c (Init_File): do not define File::ALT_SEPARATOR on cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5114,7 +5114,7 @@ Init_File(void) 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 FILE_ALT_SEPARATOR +#ifdef DOSISH rb_define_const(rb_cFile, "ALT_SEPARATOR", rb_obj_freeze(rb_usascii_str_new2(file_alt_separator))); #else rb_define_const(rb_cFile, "ALT_SEPARATOR", Qnil); |