From a9f6c1ed1401dd9b002d4c43fb9f946d2c7466d0 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Mon, 4 May 2020 11:13:40 -0400 Subject: [PATCH] Googletest export Addresses Github issue (https://github.com/google/googletest/issues/2822) by following the Microsoft documention (https://docs.microsoft.com/en-us/windows/win32/api/debugapi/nf-debugapi-isdebuggerpresent) to include capital-W Windows.h before including debugapi.h. See "Header debugapi.h (include Windows.h)" PiperOrigin-RevId: 309745868 --- googletest/src/gtest.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc index 53246746..8f4c3145 100644 --- a/googletest/src/gtest.cc +++ b/googletest/src/gtest.cc @@ -81,6 +81,7 @@ #elif GTEST_OS_WINDOWS // We are on Windows proper. +# include // NOLINT # include // NOLINT # undef min