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

github.com/windirstat/windirstat.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Schneider <oliver@assarbad.net>2016-01-11 21:10:44 +0300
committerOliver Schneider <oliver@assarbad.net>2016-01-11 21:10:44 +0300
commit5069b822e070d36b0f67438822ddfdc073713f34 (patch)
tree5907c4b7f550c7bad633b86d233eb8c4134dee2c /windirstat
parent2937c722e57e13f8ef23534ba385247d63a61b2e (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.h5
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>