diff options
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -83,6 +83,13 @@ addpath(path) char *path; { if (path == 0) return; +#if defined(__CYGWIN32__) + { + char rubylib[FILENAME_MAX]; + conv_to_posix_path(path, rubylib); + path = rubylib; + } +#endif if (strchr(path, RUBY_LIB_SEP)) { char *p, *s; VALUE ary = ary_new(); |