Fix compilation error on Windows.

This commit is contained in:
Sönke Ludwig 2017-02-16 10:20:02 +01:00
parent 095a1ddc85
commit 93b342bf77

View file

@ -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;