1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 15:15:31 +00:00
This commit is contained in:
Stanislaw Halik 2018-12-08 20:57:50 +01:00
parent 44e60b708b
commit 56d79bd4e0

View file

@ -22,7 +22,7 @@ bool attachParentConsole()
if (AttachConsole(ATTACH_PARENT_PROCESS))
{
// start with consistent state
fflush(stdin);
fflush(stdout);
fflush(stderr);
std::cout.flush();
std::cerr.flush();
@ -34,7 +34,7 @@ bool attachParentConsole()
_wfreopen(L"CON", L"r", stdin);
freopen("CON", "w", stdout);
freopen("CON", "w", stderr);
freopen("CON", "w", stderr);
freopen("CON", "r", stdin);
// it can be verified that input/output works as expected.
#if 0