[SCM] libav/experimental: Define WIN32_LEAN_AND_MEAN before including windows.h to exclude rarely-used header files.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:16:38 UTC 2013


The following commit has been merged in the experimental branch:
commit 54b62496811914ec47f4369fa635d169f452fbb7
Author: Ramiro Polla <ramiro.polla at gmail.com>
Date:   Sat Mar 8 19:00:55 2008 +0000

    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

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>

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list