Commit 54b62496 authored by Ramiro Polla's avatar Ramiro Polla

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
parent a06ba2a1
......@@ -28,6 +28,7 @@
*/
#ifdef __MINGW32__
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# define usleep(t) Sleep((t) / 1000)
# include <fcntl.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment