summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 4f01b4d6e0..14655c7538 100644
--- a/io.c
+++ b/io.c
@@ -99,7 +99,7 @@ struct timeval time_timeval();
# define READ_DATA_PENDING(fp) ((fp)->FILE_COUNT > 0)
# else
# if defined(__BEOS__)
-# define ReadDataPending(fp) (fp->state._eof == 0)
+# define ReadDataPending(fp) (fp->_state._eof == 0)
# elif defined(USE_CWGUSI)
# define ReadDataPending(fp) (fp->state.eof == 0)
# else