diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2008-03-08 19:00:55 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2008-03-08 19:00:55 +0000 |
commit | 54b62496811914ec47f4369fa635d169f452fbb7 (patch) | |
tree | fd0cdf92640bae96aad94f234c55a621676d1728 | |
parent | a06ba2a18d64d5aa7574e03d65ab3ef209e915e5 (diff) | |
download | ffmpeg-streaming-54b62496811914ec47f4369fa635d169f452fbb7.zip ffmpeg-streaming-54b62496811914ec47f4369fa635d169f452fbb7.tar.gz |
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
-rw-r--r-- | libavformat/os_support.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h index 285f039..de29a18 100644 --- a/libavformat/os_support.h +++ b/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> |