summaryrefslogtreecommitdiff
path: root/Utilities/cmvssetup
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-01-10 16:45:12 -0500
committerBrad King <brad.king@kitware.com>2017-01-11 09:45:05 -0500
commit3a97a3713a498c9a89a1733131196f7fcd03552c (patch)
treece0ad352a962520c74b6870f0c6bfaada5bb96a0 /Utilities/cmvssetup
parentc93e85d87e683e4c20e5f29726889279aea9d921 (diff)
downloadcmake-3a97a3713a498c9a89a1733131196f7fcd03552c.tar.gz
VS: Port Visual Studio Setup third-party header to older VS versions
Diffstat (limited to 'Utilities/cmvssetup')
-rw-r--r--Utilities/cmvssetup/Setup.Configuration.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Utilities/cmvssetup/Setup.Configuration.h b/Utilities/cmvssetup/Setup.Configuration.h
index cc01d27162..6c9d8f9241 100644
--- a/Utilities/cmvssetup/Setup.Configuration.h
+++ b/Utilities/cmvssetup/Setup.Configuration.h
@@ -23,6 +23,19 @@
#if defined(_WIN32) && !defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)
+#ifndef _Outptr_result_maybenull_
+#define _Outptr_result_maybenull_
+#endif
+#ifndef _Out_writes_to_
+#define _Out_writes_to_(x,y)
+#endif
+#ifndef _Reserved_
+#define _Reserved_
+#endif
+#ifndef MAXUINT
+#define MAXUINT ((UINT)~((UINT)0))
+#endif
+
// Enumerations
//
/// <summary>