[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with sys_select on Cygwin

From: Ken Brown
Subject: Re: Problem with sys_select on Cygwin
Date: Mon, 21 Mar 2016 13:09:59 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0

On 3/21/2016 12:04 PM, Eric Blake wrote:
Do we even need to wait for a version number from newlib, or can we
probe based on one of the other changes going in at the same time?  For
example, part of the newlib/Cygwin changes was the addition of a new
sys/_timespec.h, with a new witness variable _SYS__TIMESPEC_H_, which
should not be defined in the older layout of the headers.  Therefore, it
may be feasible to do:

#if !((defined __GLIBC__ \
       || (defined __NEWLIB__ && defined _SYS_TIMESPEC_H)) \


      && !defined __UCLIBC__

and thereby simultaneously cater to both old and new cygwin headers
without waiting for a version number bump from newlib.

This assumes that sys/time.h has already been included. But part of the patch that Paul applied was to avoid that inclusion.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]