# HG changeset patch # User alex # Date 1006539932 0 # Node ID 57abb24ac58bd0126324bc94b1077ac5164dd199 # Parent 46e5ece0b15b9785bf7d9d259deab9c430692cb7 HAVE_NANOSLEEP diff -r 46e5ece0b15b -r 57abb24ac58b linux/timer-lx.c --- a/linux/timer-lx.c Fri Nov 23 18:25:09 2001 +0000 +++ b/linux/timer-lx.c Fri Nov 23 18:25:32 2001 +0000 @@ -3,10 +3,11 @@ #include #include #include +#include "../config.h" int usec_sleep(int usec_delay) { -#if 1 +#ifdef HAVE_NANOSLEEP struct timespec ts; ts.tv_sec = usec_delay / 1000000; ts.tv_nsec = (usec_delay % 1000000) * 1000;