Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3F2BD9E7.DB0F3B54@phekda.freeserve.co.uk> Date: Sat, 02 Aug 2003 16:33:59 +0100 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: bdeck CC: DJGPP newsgroup Subject: Re: sys/ioctl.h turned off? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello. bdeck wrote: > > Line 132 of sys/ioctl.h: > > #if 0 > > My experience is that this turns everything else bellow off. Why? Dozens of > declaraions disabled... Why? > > Changed to #if defined (__ENABLE_IOCTL) > to suit my purposes. These are probably disabled to stop various programs thinking we support the features that the macros assume. E.g.: we don't support non-blocking or asynchronous I/O. There are various cases in DJGPP where we don't define things in headers, to stop programs trying to use those features, because of e.g.: autoconf tests, #if /#endif tests. Try searching the DJGPP archives for sys/ioctl.h and also see this message: http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-workers/1996/07/29/06:15:22 Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]