* 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
This commit is contained in:
eban 2002-03-27 05:55:01 +00:00
Родитель 4ae4525ca4
Коммит e1eee80893
2 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -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

4
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