Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1043)

Unified Diff: base/win/windows_version.cc

Issue 1849423002: Verify that Update 2 of VS 2015 is used to build Chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/windows_version.cc
diff --git a/base/win/windows_version.cc b/base/win/windows_version.cc
index eb3f4993d2cdc481869270ff50a59877b386767f..e8e6102343afc93b7168c0b53706372045f45528 100644
--- a/base/win/windows_version.cc
+++ b/base/win/windows_version.cc
@@ -13,6 +13,10 @@
#include "base/strings/utf_string_conversions.h"
#include "base/win/registry.h"
+#if !defined(__clang__) && _MSC_FULL_VER < 190023918
+#error VS 2015 Update 2 or higher is required
+#endif
+
namespace {
typedef BOOL (WINAPI *GetProductInfoPtr)(DWORD, DWORD, DWORD, DWORD, PDWORD);
} // namespace
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698