summaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-02-17 07:11:22 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-02-17 07:11:22 +0000
commite83d532ff8b7d3c6eeaee3931d8b00df19c5f538 (patch)
treea2c90999001ebcb8fd2fd67ffb3d5911a8e98f81 /file.c
parent154193050b7878e290f9f166279c18e01ef44ad6 (diff)
downloadruby-e83d532ff8b7d3c6eeaee3931d8b00df19c5f538.tar.gz
ruby-e83d532ff8b7d3c6eeaee3931d8b00df19c5f538.tar.xz
ruby-e83d532ff8b7d3c6eeaee3931d8b00df19c5f538.zip
2000-02-17
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/file.c b/file.c
index 47d5274d8..51c00a595 100644
--- a/file.c
+++ b/file.c
@@ -1077,7 +1077,7 @@ static VALUE
rb_file_s_symlink(obj, from, to)
VALUE obj, from, to;
{
-#if !defined(MSDOS) && !defined(NT) && !defined(__EMX__)
+#if !defined(MSDOS) && !defined(NT) && !defined(__EMX__) && !defined(riscos)
Check_SafeStr(from);
Check_SafeStr(to);
@@ -1094,7 +1094,7 @@ static VALUE
rb_file_s_readlink(obj, path)
VALUE obj, path;
{
-#if !defined(MSDOS) && !defined(NT) && !defined(__EMX__)
+#if !defined(MSDOS) && !defined(NT) && !defined(__EMX__) && !defined(riscos)
char buf[MAXPATHLEN];
int cc;
@@ -2026,7 +2026,7 @@ rb_path_check(path)
return 1;
}
-#ifdef __MACOS__
+#if defined(__MACOS__) || defined(riscos)
static int
is_macos_native_path(path)
const char *path;
@@ -2045,7 +2045,7 @@ rb_find_file(file)
VALUE fname;
char *path;
-#ifdef __MACOS__
+#if defined(__MACOS__) || defined(riscos)
if (is_macos_native_path(file)) {
FILE *f;