MinGW runtime 3.15 has a wrapper for usleep().
authorRamiro Polla <ramiro.polla@gmail.com>
Thu, 2 Oct 2008 17:43:27 +0000 (17:43 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Thu, 2 Oct 2008 17:43:27 +0000 (17:43 +0000)
Originally committed as revision 15522 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/os_support.h

index 2b89fb5..e547085 100644 (file)
@@ -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