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 |