use _sleep instead of sleep on win32
This commit is contained in:
parent
b4fbf5396c
commit
0c95031b8c
|
@ -1,5 +1,7 @@
|
|||
2003-04-11 Bradley Bell <btb@icculus.org>
|
||||
|
||||
* libmve/mveplay.c: use _sleep instead of sleep on win32
|
||||
|
||||
* README, arch/sdl/digi.c, arch/sdl/joy.c, arch/win32/Makefile.am,
|
||||
include/byteswap.h, include/cfile.h, include/error.h,
|
||||
libmve/Makefile.am, libmve/decoders.h, main/Makefile.am,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: mveplay.c,v 1.8 2003-04-12 00:02:16 btb Exp $ */
|
||||
/* $Id: mveplay.c,v 1.9 2003-04-12 00:45:03 btb Exp $ */
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <conf.h>
|
||||
#endif
|
||||
|
@ -158,7 +158,7 @@ int gettimeofday(struct timeval *tv, void *tz)
|
|||
|
||||
int nanosleep(struct timespec *ts, void *rem)
|
||||
{
|
||||
sleep(ts->tv_sec * 1000 + ts->tv_nsec / 1000000);
|
||||
_sleep(ts->tv_sec * 1000 + ts->tv_nsec / 1000000);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue