]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
MinGW runtime 3.15 has a wrapper for usleep().
authorramiro <ramiro@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 2 Oct 2008 17:43:27 +0000 (17:43 +0000)
committerramiro <ramiro@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 2 Oct 2008 17:43:27 +0000 (17:43 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15522 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/os_support.h

index 2b89fb58e22c88bbaa52ef26aec36adb514ffdb8..e547085dff2ecfce5efa1dda0ccc9ad3408ec5d0 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