mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-22 22:09:59 +00:00
always console for windows Debug builds
This commit is contained in:
parent
5ce5000b14
commit
a76c962aa3
|
@ -1508,7 +1508,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);
|
||||||
|
|
|
@ -2019,7 +2019,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