summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-05 09:01:07 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-05 09:01:07 +0000
commit656d6d28704943d2960b20761b6d05386086e8a2 (patch)
treec99fec4f83ee9eb51430be6aaec27682c7dc6367 /io.c
parent7f3aa8b9ea9aaf38f4167e95ba86dd5d3766554e (diff)
2000-06-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_4@732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index f727c008ab..0a8b36a0ab 100644
--- a/io.c
+++ b/io.c
@@ -67,7 +67,7 @@ char *strdup();
extern void Init_File _((void));
#ifdef __BEOS__
-# ifdef _X86_
+# ifndef NOFILE
# define NOFILE (OPEN_MAX)
# endif
#include <net/socket.h>
@@ -110,7 +110,7 @@ static VALUE lineno;
#elif defined(FILE_COUNT)
# define READ_DATA_PENDING(fp) ((fp)->FILE_COUNT > 0)
#elif defined(__BEOS__)
-# define ReadDataPending(fp) (fp->_state._eof == 0)
+# define READ_DATA_PENDING(fp) (fp->_state._eof == 0)
#elif defined(USE_CWGUSI)
# define READ_DATA_PENDING(fp) (fp->state.eof == 0)
#else