Commit d86e9e23 by Martin Storsjö

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.
parent 09f58751
...@@ -86,7 +86,6 @@ ...@@ -86,7 +86,6 @@
#ifdef _MSC_VER #ifdef _MSC_VER
# include <crtdbg.h> // NOLINT # include <crtdbg.h> // NOLINT
# include <debugapi.h> // NOLINT
#endif #endif
# include <io.h> // NOLINT # include <io.h> // NOLINT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment