Fix compilation error on Windows.
This commit is contained in:
parent
095a1ddc85
commit
93b342bf77
|
@ -767,7 +767,7 @@ package void initializeLogModule()
|
||||||
import core.sys.posix.unistd : isatty;
|
import core.sys.posix.unistd : isatty;
|
||||||
if (isatty(stdout.fileno))
|
if (isatty(stdout.fileno))
|
||||||
stdoutlogger.useColors = true;
|
stdoutlogger.useColors = true;
|
||||||
} else assert(false);
|
}
|
||||||
stdoutlogger.minLevel = LogLevel.info;
|
stdoutlogger.minLevel = LogLevel.info;
|
||||||
stdoutlogger.format = FileLogger.Format.plain;
|
stdoutlogger.format = FileLogger.Format.plain;
|
||||||
ss_stdoutLogger = cast(shared)stdoutlogger;
|
ss_stdoutLogger = cast(shared)stdoutlogger;
|
||||||
|
|
Loading…
Reference in a new issue