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
This commit is contained in:
@@ -81,6 +81,7 @@
|
||||
|
||||
#elif GTEST_OS_WINDOWS // We are on Windows proper.
|
||||
|
||||
# include <Windows.h> // NOLINT
|
||||
# include <windows.h> // NOLINT
|
||||
# undef min
|
||||
|
||||
|
||||
Reference in New Issue
Block a user