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:
Andrew Johnson
2008-09-15 20:07:23 +00:00
parent 3a671f712f
commit a87bfe1ee7

View File

@@ -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;