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:
parent
64e960aa22
commit
44e60b708b
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
|
||||||
namespace Debug {
|
namespace Debug {
|
||||||
bool attachParentConsole();
|
bool attachParentConsole();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue