mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 12:07:51 +03:00
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:
commit
3c25e7b93d
3 changed files with 5 additions and 6 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue