fixes #11801
This commit is contained in:
parent
b9dd972c32
commit
39f4a3e418
2 changed files with 4 additions and 1 deletions
|
|
@ -3,6 +3,9 @@
|
|||
|
||||
## Changes affecting backwards compatibility
|
||||
|
||||
- The switch ``-d:nimBinaryStdFiles`` does not exist anymore. Instead
|
||||
stdin/stdout/stderr are binary files again. This change only affects
|
||||
Windows.
|
||||
|
||||
### Breaking changes in the standard library
|
||||
|
||||
|
|
|
|||
|
|
@ -569,7 +569,7 @@ when declared(stdout):
|
|||
releaseSys echoLock
|
||||
|
||||
|
||||
when defined(windows) and not defined(nimscript) and defined(nimBinaryStdFiles):
|
||||
when defined(windows) and not defined(nimscript):
|
||||
# work-around C's sucking abstraction:
|
||||
# BUGFIX: stdin and stdout should be binary files!
|
||||
proc c_setmode(handle, mode: cint) {.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue