bootstrapping works again on Windows

This commit is contained in:
Araq
2015-03-01 00:02:10 +01:00
parent 2808b7f9a5
commit 2df10fc4a6

View File

@@ -172,7 +172,7 @@ proc processModule(module: PSym, stream: PLLStream, rd: PRodReader) =
let filename = fileIdx.toFullPathConsiderDirty
if module.name.s == "-":
module.name.s = "stdinfile"
s = llStreamOpen(stdin)
s = llStreamOpenStdIn()
else:
s = llStreamOpen(filename, fmRead)
if s == nil: