This commit is contained in:
Andreas Rumpf 2019-07-01 14:10:08 +02:00 • committed by GitHub
commit 9b949855c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -569,7 +569,7 @@ when declared(stdout):
releaseSys echoLock
when defined(windows) and not defined(nimscript):
when defined(windows) and not defined(nimscript) and defined(nimBinaryStdFiles):
# work-around C's sucking abstraction:
# BUGFIX: stdin and stdout should be binary files!
proc c_setmode(handle, mode: cint) {.