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:
parent
09f587512a
commit
d86e9e23ce
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user