1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00

usleep is still missing in MinGW, so leave it out of the MinGW version check.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18931 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-07-07 09:22:53 +00:00
parent 73b23be06d
commit 5af17a02d5

View File

@ -16,6 +16,8 @@ void gettimeofday(struct timeval* t,void* timezone) {
t->tv_sec=timebuffer.time;
t->tv_usec=1000*timebuffer.millitm;
}
#endif
#ifdef __MINGW32__
#define MISSING_USLEEP
#define sleep(t) _sleep(1000*t);
#endif