Fri Jan 24 16:06:00 GMT 2003
On Fri, Jan 24, 2003 at 10:58:15AM -0500, Jason Tishler wrote:
> On Wed, Jan 22, 2003 at 11:44:02AM +0100, Corinna Vinschen wrote:
> > I like that patch. Applied.
> I just realized that nanosleep() is not getting declared. Is the
> attached patch the best solution? If so, then I will submit a patch to
> newlib. If not, what is?
Hmm, no. This exposes all other functions in time.h still unavailable.
I think adding a
#if defined(__CYGWIN__) && !defined(_POSIX_TIMERS)
int _EXFUN(nanosleep, (const struct timespec *rqtp, struct timespec *rmtp));
would be more adequate so far.
Adding all missing POSIX timer functions to Cygwin would be more
satisfactory, though ;-)
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:email@example.com
Red Hat, Inc.
More information about the Cygwin-patches