diff --git a/std/stdio.d b/std/stdio.d index 432ed4b3dc2..acfd1701779 100644 --- a/std/stdio.d +++ b/std/stdio.d @@ -532,7 +532,7 @@ $(D rawRead) always reads in binary mode on Windows. T[] rawRead(T)(T[] buffer) { enforce(buffer.length, "rawRead must take a non-empty buffer"); - version(Win32) + version(Windows) { immutable fd = ._fileno(_p.handle); immutable mode = ._setmode(fd, _O_BINARY); @@ -602,7 +602,6 @@ Throws: $(D ErrnoException) if the file is not opened or if the call to $D(fread _name, "'")); } - version(Win64) {} else unittest { auto deleteme = testFilename(); @@ -636,7 +635,6 @@ Throws: $(D Exception) if the file is not opened. } } - version(Win64) {} else unittest { auto deleteme = testFilename();