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 {
|
try {
|
||||||
version(Windows) {
|
version(Windows) {
|
||||||
import core.sys.windows.wincon;
|
import core.sys.windows.wincon;
|
||||||
if(AttachConsole(ATTACH_PARENT_PROCESS))
|
if(!AttachConsole(ATTACH_PARENT_PROCESS))
|
||||||
AllocConsole();
|
AllocConsole();
|
||||||
const(char)* fn = "CONOUT$";
|
const(char)* fn = "CONOUT$";
|
||||||
} else version(Posix) {
|
} else version(Posix) {
|
||||||
|
|
Loading…
Reference in New Issue