diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-05-29 23:59:13 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-05-29 23:59:13 +0400 |
commit | 15052a5cc8085f364a38ee896f817c939630d9ee (patch) | |
tree | 4b74604312b7bb41cc66f16cb5cd520200a53bd7 /src/thirdparty/VirtualDub | |
parent | 45bec579e10a9d78cdbfef4e87047af50bf97a7c (diff) |
guard the WIN32_LEAN_AND_MEAN/VC_EXTRALEAN defines and consistently use them
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4941 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/thirdparty/VirtualDub')
-rw-r--r-- | src/thirdparty/VirtualDub/system/h/stdafx.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/thirdparty/VirtualDub/system/h/stdafx.h b/src/thirdparty/VirtualDub/system/h/stdafx.h index 2fbf125e2..bcdb9bcd5 100644 --- a/src/thirdparty/VirtualDub/system/h/stdafx.h +++ b/src/thirdparty/VirtualDub/system/h/stdafx.h @@ -9,6 +9,12 @@ #endif
*/
+// Start patch MPC-HC
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+#endif
+// End patch MPC-HC
+
#include <vd2/system/vdtypes.h>
#include <vd2/system/atomic.h>
#include <vd2/system/thread.h>
|