summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby.c b/ruby.c
index 68d9fc739c..461a4f2dbb 100644
--- a/ruby.c
+++ b/ruby.c
@@ -182,7 +182,7 @@ translate_char(char *p, int from, int to)
}
#endif
-#if defined _WIN32 || defined __CYGWIN__
+#if defined _WIN32 || defined __CYGWIN__ || defined __SYMBIAN32__
static VALUE
rubylib_mangled_path(const char *s, unsigned int l)
{
@@ -331,7 +331,7 @@ ruby_incpush_expand(const char *path)
ruby_push_include(path, expand_include_path);
}
-#if defined DOSISH || defined __CYGWIN__
+#if (defined DOSISH || defined __CYGWIN__) && !defined __SYMBIAN32__
#define LOAD_RELATIVE 1
#endif