From e1eee80893672a8c51b1fca13952dad505af23e9 Mon Sep 17 00:00:00 2001 From: eban Date: Wed, 27 Mar 2002 05:55:01 +0000 Subject: [PATCH] * io.c (READ_DATA_PENDING): configure.in has supported for uClibc, so remove uClibc stuff. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ io.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index c240d69ea0..9ec0e51631 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Mar 27 14:47:32 2002 WATANABE Hirofumi + + * io.c (READ_DATA_PENDING): configure.in has supported for uClibc, + so remove uClibc stuff. + Wed Mar 27 13:14:43 2002 Yukihiro Matsumoto * io.c (rb_io_sysseek): new method based on a patch from Aristarkh diff --git a/io.c b/io.c index d3a124b67c..6356c89d05 100644 --- a/io.c +++ b/io.c @@ -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