MinGW runtime 3.15 has a wrapper for usleep().

Originally committed as revision 15522 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ramiro Polla 2008-10-02 17:43:27 +00:00
parent 126cadc723
commit 3defa81fc4

View File

@ -28,9 +28,6 @@
*/ */
#ifdef __MINGW32__ #ifdef __MINGW32__
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# define usleep(t) Sleep((t) / 1000)
# include <fcntl.h> # include <fcntl.h>
# define lseek(f,p,w) _lseeki64((f), (p), (w)) # define lseek(f,p,w) _lseeki64((f), (p), (w))
#endif #endif