use _sleep instead of sleep on win32

This commit is contained in:
Bradley Bell 2003-04-12 00:45:03 +00:00
parent b4fbf5396c
commit 0c95031b8c
2 changed files with 4 additions and 2 deletions

View file

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

View file

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