mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-10 04:46:08 -04:00
fix missing _WIN32 guard
This commit is contained in:
parent
64e960aa22
commit
44e60b708b
@ -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…
x
Reference in New Issue
Block a user