Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2012-05-29 23:59:13 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2012-05-29 23:59:13 +0400
commit15052a5cc8085f364a38ee896f817c939630d9ee (patch)
tree4b74604312b7bb41cc66f16cb5cd520200a53bd7 /include
parent45bec579e10a9d78cdbfef4e87047af50bf97a7c (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 'include')
-rw-r--r--include/stdafx_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/stdafx_common.h b/include/stdafx_common.h
index 50ced288f..cfed959c2 100644
--- a/include/stdafx_common.h
+++ b/include/stdafx_common.h
@@ -2,7 +2,9 @@
#define _SECURE_ATL 1
#endif
-#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+#endif
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers