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.
This commit is contained in:
@@ -86,7 +86,6 @@
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# include <crtdbg.h> // NOLINT
|
||||
# include <debugapi.h> // NOLINT
|
||||
#endif
|
||||
|
||||
# include <io.h> // NOLINT
|
||||
|
||||
Reference in New Issue
Block a user