mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-22 18:40:00 +00:00
always console for windows Debug builds
This commit is contained in:
parent
a3eae736e7
commit
a826091dc9
|
@ -1476,7 +1476,9 @@ WinMain(HINSTANCE instance,
|
||||||
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
|
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
|
||||||
|
|
||||||
#ifndef MASTER
|
#ifndef MASTER
|
||||||
|
#ifndef DEBUG
|
||||||
if (strstr(cmdLine, "-console"))
|
if (strstr(cmdLine, "-console"))
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
AllocConsole();
|
AllocConsole();
|
||||||
freopen("CONIN$", "r", stdin);
|
freopen("CONIN$", "r", stdin);
|
||||||
|
|
|
@ -2021,7 +2021,9 @@ WinMain(HINSTANCE instance,
|
||||||
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
|
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
|
||||||
|
|
||||||
#ifndef MASTER
|
#ifndef MASTER
|
||||||
|
#ifndef DEBUG
|
||||||
if (strstr(cmdLine, "-console"))
|
if (strstr(cmdLine, "-console"))
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
AllocConsole();
|
AllocConsole();
|
||||||
freopen("CONIN$", "r", stdin);
|
freopen("CONIN$", "r", stdin);
|
||||||
|
|
Loading…
Reference in a new issue