mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
4ae4525ca4
commit
e1eee80893
2 changed files with 5 additions and 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
|
||||
|
|
4
io.c
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
|
||||
|
|
Loading…
Reference in a new issue