Cygwin doesn't actually provide a clock_settime symbol, although the
prototype is present in time.h so we supply our own that returns error.
This commit is contained in:
@@ -44,6 +44,14 @@
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#ifdef CYGWIN32
|
||||
int clock_settime(clockid_t clock, const timespec *tp)
|
||||
{
|
||||
return -EFAULT;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
static int timeRegister(void)
|
||||
{
|
||||
TIME_INIT;
|
||||
|
||||
Reference in New Issue
Block a user