Browse Source

VS: Port Visual Studio Setup third-party header to older VS versions

Brad King 9 years ago
parent
commit
3a97a3713a
1 changed files with 13 additions and 0 deletions
  1. 13 0
      Utilities/cmvssetup/Setup.Configuration.h

+ 13 - 0
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>