mirror of https://github.com/adamdruppe/arsd.git
oops windows
This commit is contained in:
parent
49829f3f48
commit
e6eade37ae
|
@ -9903,7 +9903,7 @@ void sdpyPrintDebugString(string fileOverride = null, T...)(T t) nothrow @truste
|
|||
try {
|
||||
version(Windows) {
|
||||
import core.sys.windows.wincon;
|
||||
if(AttachConsole(ATTACH_PARENT_PROCESS))
|
||||
if(!AttachConsole(ATTACH_PARENT_PROCESS))
|
||||
AllocConsole();
|
||||
const(char)* fn = "CONOUT$";
|
||||
} else version(Posix) {
|
||||
|
|
Loading…
Reference in New Issue