From d86e9e23ceab0b24f4698f063672efd37dec85b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 8 May 2020 10:19:57 +0300 Subject: [PATCH] Remove an explicit include of debugapi.h The documentation for IsDebuggerPresent says that one just should include windows.h, as that one is an umbrella header that includes the header that declares IsDebuggerPresent. In older Windows SDKs, debugapi.h didn't exist and IsDebuggerPresent was declared in winbase.h (also included by windows.h). This should fix issue #2822 properly. --- googletest/src/gtest.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc index 72827195d..5e94c215e 100644 --- a/googletest/src/gtest.cc +++ b/googletest/src/gtest.cc @@ -86,7 +86,6 @@ #ifdef _MSC_VER # include // NOLINT -# include // NOLINT #endif # include // NOLINT