2003-01-29 Jason Tishler <jason@tishler.net>

* libc/include/time.h: Declare nanosleep() under Cygwin.
This commit is contained in:
Jeff Johnston 2003-01-29 23:29:30 +00:00
parent 01e3c89709
commit 4700b8293a
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-01-29 Jason Tishler <jason@tishler.net>
* libc/include/time.h: Declare nanosleep() under Cygwin.
2003-01-24 Nick Clifton <nickc@redhat.com>
* Add sh2e support:

View File

@ -163,6 +163,16 @@ int _EXFUN(nanosleep, (const struct timespec *rqtp, struct timespec *rmtp));
#ifdef __cplusplus
}
#endif
#else
#ifdef __CYGWIN__
#ifdef __cplusplus
extern "C" {
#endif
int _EXFUN(nanosleep, (const struct timespec *rqtp, struct timespec *rmtp));
#ifdef __cplusplus
}
#endif
#endif /* __CYGWIN__ */
#endif /* _POSIX_TIMERS */
#ifdef __cplusplus