diff options
author | Oliver Schneider <oliver@assarbad.net> | 2016-01-11 21:10:44 +0300 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2016-01-11 21:10:44 +0300 |
commit | 5069b822e070d36b0f67438822ddfdc073713f34 (patch) | |
tree | 5907c4b7f550c7bad633b86d233eb8c4134dee2c /windirstat | |
parent | 2937c722e57e13f8ef23534ba385247d63a61b2e (diff) |
Getting rid of platform.h and making sure VS versions newer than VS2008 will use the Windows 7 features by default
Diffstat (limited to 'windirstat')
-rw-r--r-- | windirstat/stdafx.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/windirstat/stdafx.h b/windirstat/stdafx.h index 8c34010..b7e5c78 100644 --- a/windirstat/stdafx.h +++ b/windirstat/stdafx.h @@ -28,11 +28,13 @@ #define __WDS_STDAFX_H__ #pragma once -#if defined(HAVE_WIN7_SDK) && HAVE_WIN7_SDK +#if (defined(HAVE_WIN7_SDK) && HAVE_WIN7_SDK) || (_MSC_VER >= 1600) # define SUPPORT_W7_TASKBAR 1 # define SUPPORT_ELEVATION 1 #endif // HAVE_WIN7_SDK +#define _WIN32_WINNT _WIN32_WINNT_WINXP + #ifndef VC_EXTRALEAN #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #endif @@ -62,7 +64,6 @@ #include <common/mdexceptions.h> #include <common/cotaskmem.h> #include <common/commonhelpers.h> -#include <common/platform.h> #include <common/tracer.h> #include <common/wds_constants.h> |