changeset 3127:ca53e89f3448 libavformat

Define WIN32_LEAN_AND_MEAN before including windows.h to exclude rarely-used header files.
author ramiro
date Sat, 08 Mar 2008 19:00:55 +0000
parents d39f51044b17
children b5e2ce291882
files os_support.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/os_support.h	Sat Mar 08 18:59:45 2008 +0000
+++ b/os_support.h	Sat Mar 08 19:00:55 2008 +0000
@@ -28,6 +28,7 @@
  */
 
 #ifdef __MINGW32__
+#  define WIN32_LEAN_AND_MEAN
 #  include <windows.h>
 #  define usleep(t)    Sleep((t) / 1000)
 #  include <fcntl.h>