diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | io.c | 4 |
2 files changed, 5 insertions, 4 deletions
@@ -1,3 +1,8 @@ +Wed Mar 27 14:47:32 2002 WATANABE Hirofumi <eban@ruby-lang.org> + + * io.c (READ_DATA_PENDING): configure.in has supported for uClibc, + so remove uClibc stuff. + Wed Mar 27 13:14:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org> * io.c (rb_io_sysseek): new method based on a patch from Aristarkh @@ -143,10 +143,6 @@ static VALUE lineno; # define READ_DATA_PENDING_COUNT(fp) ((fp)->FILE_READEND - (fp)->FILE_READPTR) #elif defined(__BEOS__) # define READ_DATA_PENDING(fp) (fp->_state._eof == 0) -#elif defined(__UCLIBC__) -# define READ_DATA_PENDING(fp) ((fp)->bufpos < (fp)->bufend) -# define READ_DATA_PENDING_COUNT(fp) ((fp)->bufend - (fp)->bufpos) -# define READ_DATA_PENDING_PTR(fp) ((fp)->bufpos) #elif defined(__VMS) # define READ_DATA_PENDING(fp) (((unsigned int)((*(fp))->_flag) & _IOEOF) == 0) #else |