MinGW runtime 3.15 has a wrapper for usleep().

Originally committed as revision 15522 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Ramiro Polla 17 years ago
parent 126cadc723
commit 3defa81fc4
  1. 3
      libavformat/os_support.h

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

Loading…
Cancel
Save