diff options
author | clsid2 <clsid2@users.sourceforge.net> | 2011-05-05 00:59:53 +0400 |
---|---|---|
committer | clsid2 <clsid2@users.sourceforge.net> | 2011-05-05 00:59:53 +0400 |
commit | 015e9810b1c0f3e249356781f16e55e39291335f (patch) | |
tree | c8579ab6c0851d0e79df2e1c3da7636e190f38ac /include/stdafx_common.h | |
parent | f5509ca50a48d9293d57b0f06b9fc285a10d88c6 (diff) |
MFC bloat fix (part1): stdafx common files
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@3073 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'include/stdafx_common.h')
-rw-r--r-- | include/stdafx_common.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/stdafx_common.h b/include/stdafx_common.h new file mode 100644 index 000000000..50ced288f --- /dev/null +++ b/include/stdafx_common.h @@ -0,0 +1,13 @@ +#ifndef _SECURE_ATL
+#define _SECURE_ATL 1
+#endif
+
+#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+
+#ifndef VC_EXTRALEAN
+#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
+#endif
+
+#include <SDKDDKVer.h>
+
+#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
|