Re: Problems building ext/io/wait.c in 1.8 branch

From: Gavin Sinclair <gsinclair@...>
Date: 2004-04-21 15:43:11 UTC
List: ruby-core #2803
On Thursday, April 22, 2004, 1:33:54 AM, ts wrote:

>>>>>> "G" == Gavin Sinclair <gsinclair@soyabean.com.au> writes:

G>>   $ ruby extconf.rb
G>>   checking for FIONREAD... no
G>>   checking for FIONREAD... no

>  The Makefiule is created only if it find FIONREAD. See the content of
>  extconf.rb 

>  Look in the include directories, if FIONREAD is defined in some file


Here's the only mention, in /usr/include/sys/termios.h, and it doesn't
define FIONREAD.  Nothing under /usr/local/include mentions it.


/* sys/termios.h */

#ifndef _SYS_TERMIOS_H
#define _SYS_TERMIOS_H

#define TIOCMGET        0x5415
#define TIOCMSET        0x5418
#define TIOCINQ         0x541B  

/* TIOCINQ is utilized instead of FIONREAD which has been
accupied for other purposes under CYGWIN.
Other UNIX ioctl requests has been omited because
effects of their work one can achive by standard
POSIX commands */











In This Thread

Prev Next