Merge pull request #2010 from AnyOldName3/windows-debug-build-fix

Include missing Windows header before calling Windows-specific functions and switch CMake compile definitions to the new style.
This commit is contained in:
AnyOldName3 2018-11-02 23:57:44 +00:00 committed by GitHub
commit 3c25e7b93d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 6 deletions

View file

@ -44,6 +44,10 @@ namespace Debug
};
#if defined(_WIN32) && defined(_DEBUG)
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif // !WIN32_LEAN_AND_MEAN
#include <Windows.h>
class DebugOutput : public DebugOutputBase
{
public: