summaryrefslogtreecommitdiff
path: root/src/mongo/platform/windows_basic.h
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2017-03-25 13:34:20 -0400
committerAndrew Morrow <acm@mongodb.com>2017-03-29 09:01:34 -0400
commit73b7ae2efdc3d996b1b9bda5ea6ac44fa0e81311 (patch)
tree780c7122eb244d3280e79e50c799215a28c9b23e /src/mongo/platform/windows_basic.h
parente9e806ee1f03b8328bb689ac0ce66625d16a59ee (diff)
downloadmongo-73b7ae2efdc3d996b1b9bda5ea6ac44fa0e81311.tar.gz
SERVER-27458 SERVER-28322 Remove outdated builders
Diffstat (limited to 'src/mongo/platform/windows_basic.h')
-rw-r--r--src/mongo/platform/windows_basic.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mongo/platform/windows_basic.h b/src/mongo/platform/windows_basic.h
index 372630ffd5f..710d47007c4 100644
--- a/src/mongo/platform/windows_basic.h
+++ b/src/mongo/platform/windows_basic.h
@@ -46,11 +46,11 @@
#if !defined(_WIN32_WINNT)
// Can't use symbolic versions here, since we may not have seen sdkddkver.h yet.
#if defined(_WIN64)
-// 64-bit builds default to Windows Server 2003 support.
-#define _WIN32_WINNT 0x0502
+// 64-bit builds default to Windows 7/Windows Server 2008 R2 support.
+#define _WIN32_WINNT 0x0601
#else
-// 32-bit builds default to Windows XP support.
-#define _WIN32_WINNT 0x0501
+// 32-bit builds default to Windows 7/Windows Server 2008 R2 support.
+#define _WIN32_WINNT 0x0601
#endif
#endif
@@ -59,11 +59,11 @@
#if !defined(NTDDI_VERSION)
// Can't use symbolic versions here, since we may not have seen sdkddkver.h yet.
#if defined(_WIN64)
-// 64-bit builds default to Windows Server 2003 SP 2 support.
-#define NTDDI_VERSION 0x05020200
+// 64-bit builds default to Windows 7/Windows Server 2008 R2 support.
+#define NTDDI_VERSION 0x06010000
#else
-// 32-bit builds default to Windows XP SP 3 support.
-#define NTDDI_VERSION 0x05010300
+// 32-bit builds default to Windows 7/Windows Server 2008 R2 support.
+#define NTDDI_VERSION 0x06010000
#endif
#endif
@@ -114,6 +114,6 @@
#error "MongoDB requires Windows SDK 8.1 or higher to build"
#endif
-#if !defined(NTDDI_VISTA) || NTDDI_VERSION < NTDDI_VISTA
-#error "MongoDB does not support Windows versions older than Windows Vista"
+#if !defined(NTDDI_WIN7) || NTDDI_VERSION < NTDDI_WIN7
+#error "MongoDB does not support Windows versions older than Windows 7/Windows Server 2008 R2."
#endif