1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-02 16:36:41 +00:00

fix missing _WIN32 guard

This commit is contained in:
Stanislaw Halik 2018-12-08 03:13:18 +01:00
parent 64e960aa22
commit 44e60b708b
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,5 @@
#ifdef _WIN32
#include "win32.hpp" #include "win32.hpp"
#undef _CRT_SECURE_NO_WARNINGS #undef _CRT_SECURE_NO_WARNINGS
@ -54,3 +56,5 @@ bool attachParentConsole()
} }
} // ns Debug } // ns Debug
#endif

View file

@ -1,5 +1,9 @@
#pragma once #pragma once
#ifdef _WIN32
namespace Debug { namespace Debug {
bool attachParentConsole(); bool attachParentConsole();
} }
#endif