Release 960114
[wine/gsoc-2012-control.git] / misc / port.c
blob52ac9d971dadd90bb3835d354b5c9f12c2a12190
1 #include <unistd.h>
2 #include <sys/types.h>
3 #include <sys/time.h>
5 #ifndef HAVE_USLEEP
7 unsigned int usleep (unsigned int useconds)
9 struct timeval delay;
11 delay.tv_sec = 0;
12 delay.tv_usec = useconds;
14 (void) select (0, (fd_set *) NULL, (fd_set *) NULL, (fd_set *) NULL,
15 &delay);
16 return 0;
19 #endif /* HAVE_USLEEP */