summary refs log tree commit diff stats
path: root/lib/system/io.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2021-05-01 11:10:40 +0200
committerGitHub <noreply@github.com>2021-05-01 11:10:40 +0200
commitfb86271556b4ea4485195febaa02b972149ca088 (patch)
tree5ec07b7d619f3d84bbd0aed2aae0569269b65499 /lib/system/io.nim
parenta55c7e9679e8df0ffc7eaff1e2d5626ec5a9129a (diff)
downloadNim-fb86271556b4ea4485195febaa02b972149ca088.tar.gz
system.nim cleanup some exported constants which should never have be… (#17909)
* system.nim cleanup some exported constants which should never have been exported
Diffstat (limited to 'lib/system/io.nim')
-rw-r--r--lib/system/io.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/io.nim b/lib/system/io.nim
index 300e7ea3f..594c78209 100644
--- a/lib/system/io.nim
+++ b/lib/system/io.nim
@@ -252,7 +252,7 @@ proc write*(f: File, s: string) {.tags: [WriteIOEffect], benign.} =
       raiseEIO("cannot write string to file")
 {.pop.}
 
-when NoFakeVars:
+when defined(nimscript):
   when defined(windows):
     const
       IOFBF = cint(0)