summaryrefslogtreecommitdiff
path: root/support/dktools/dkwt.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-09-20 03:03:26 +0000
committerNorbert Preining <norbert@preining.info>2020-09-20 03:03:26 +0000
commit1f457376b478257b88d4a857f5ec1b6155442dd7 (patch)
tree2a06a60551dea362cf8cb0cb0ba66c78608717c4 /support/dktools/dkwt.h
parentac690ca29ad5bf8a5203a65fd6252f7b564f4727 (diff)
CTAN sync 202009200303
Diffstat (limited to 'support/dktools/dkwt.h')
-rw-r--r--support/dktools/dkwt.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/support/dktools/dkwt.h b/support/dktools/dkwt.h
index e0d1a2123e..0d7a9f875e 100644
--- a/support/dktools/dkwt.h
+++ b/support/dktools/dkwt.h
@@ -1,3 +1,8 @@
+/*
+Copyright 2011-2020, Dirk Krause. All rights reserved.
+SPDX-License-Identifier: BSD-3-Clause
+*/
+
/** @file dkwt.h Header file for the dkwt program.
*/
@@ -6,10 +11,14 @@
#define DKT3_H_INCLUDED 1
#include <lm.h>
-#include <Sddl.h>
+#include <sddl.h>
-#if (_MSC_VER >= 1800) && (!(DK4_WINDOWS_LEGACY))
+#if (_WIN32) && defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0603)
+#if defined(_MSC_VER)
#include <VersionHelpers.h>
+#else
+#include <versionhelpers.h>
+#endif
#endif
/** Description for one Windows account.