Define WIN32_LEAN_AND_MEAN before including windows.h to exclude

rarely-used header files.

Originally committed as revision 12378 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Ramiro Polla 17 years ago
parent a06ba2a18d
commit 54b6249681
  1. 1
      libavformat/os_support.h

@ -28,6 +28,7 @@
*/
#ifdef __MINGW32__
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# define usleep(t) Sleep((t) / 1000)
# include <fcntl.h>

Loading…
Cancel
Save