* include/time.h: Move cygwin declarations to cygwin-specific header.
* include/sys/time.h: Rename cygwin include to "sys_time.h".
This commit is contained in:
parent
808139f1af
commit
d3e81bdac8
|
@ -1,3 +1,8 @@
|
||||||
|
2005-11-18 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* include/time.h: Move cygwin declarations to cygwin-specific header.
|
||||||
|
* include/sys/time.h: Rename cygwin include to "sys_time.h".
|
||||||
|
|
||||||
2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
|
2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
|
* libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
|
||||||
|
|
|
@ -24,7 +24,7 @@ struct timezone {
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef __CYGWIN__
|
#ifdef __CYGWIN__
|
||||||
#include <cygwin/time.h>
|
#include <cygwin/sys_time.h>
|
||||||
#endif /* __CYGWIN__ */
|
#endif /* __CYGWIN__ */
|
||||||
|
|
||||||
#endif /* _WINSOCK_H */
|
#endif /* _WINSOCK_H */
|
||||||
|
|
|
@ -145,6 +145,10 @@ char *_EXFUN(timezone, (void));
|
||||||
|
|
||||||
#include <sys/features.h>
|
#include <sys/features.h>
|
||||||
|
|
||||||
|
#ifdef __CYGWIN__
|
||||||
|
#include <cygwin/time.h>
|
||||||
|
#endif /*__CYGWIN__*/
|
||||||
|
|
||||||
#if defined(_POSIX_TIMERS)
|
#if defined(_POSIX_TIMERS)
|
||||||
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
@ -183,16 +187,6 @@ int _EXFUN(nanosleep, (const struct timespec *rqtp, struct timespec *rmtp));
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#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 */
|
#endif /* _POSIX_TIMERS */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in New Issue