X-Git-Url: https://git.llucax.com/software/druntime.git/blobdiff_plain/5a07183e26b7ca151959629420a83f59af5339f3..HEAD:/src/compiler/dmd/util/console.d diff --git a/src/compiler/dmd/util/console.d b/src/compiler/dmd/util/console.d index 93d7fdf..87d969b 100644 --- a/src/compiler/dmd/util/console.d +++ b/src/compiler/dmd/util/console.d @@ -12,11 +12,11 @@ private { version (Windows) { - import sys.windows.windows; + import core.sys.windows.windows; } else version( Posix ) { - import stdc.posix.unistd; + import core.sys.posix.unistd; } import util.string; } @@ -35,7 +35,7 @@ struct Console { write( 2, val.ptr, val.length ); } - return *this; + return this; }