1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

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
This commit is contained in:
Ramiro Polla
2008-03-08 19:00:55 +00:00
parent a06ba2a18d
commit 54b6249681

View File

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