summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-21 09:31:00 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-21 09:31:00 +0000
commitb35df6aae27214f831931c0174afb497218cf74e (patch)
treecefa0bf8401697624442bee31e5f6087a880b489 /dir.c
parent616c1cd971695ed74df6e3a98fa9d584f3783e8b (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index d5267a86e8..efb28e6848 100644
--- a/dir.c
+++ b/dir.c
@@ -334,7 +334,7 @@ static VALUE
dir_tell(dir)
VALUE dir;
{
-#if !defined(__CYGWIN32__) && !defined(__BEOS__)
+#ifdef HAVE_TELLDIR
DIR *dirp;
long pos;
@@ -352,7 +352,7 @@ dir_seek(dir, pos)
{
DIR *dirp;
-#if !defined(__CYGWIN32__) && !defined(__BEOS__)
+#ifdef HAVE_SEEKDIR
GetDIR(dir, dirp);
seekdir(dirp, NUM2INT(pos));
return dir;