summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2022-02-03 11:15:46 +0800
committerGitHub <noreply@github.com>2022-02-03 11:15:46 +0800
commit772ed5eff29671b1e99ca17b63c646b341c88123 (patch)
tree1aac3ce7ee9fb17705cae9f388dcc1c0b60af794
parent891329cd4b3e7e3b0d995cf342c1018239ebcf81 (diff)
downloadNim-772ed5eff29671b1e99ca17b63c646b341c88123.tar.gz
correct typos (#19485)
-rw-r--r--compiler/pathutils.nim2
-rw-r--r--lib/posix/posix.nim2
-rw-r--r--tests/test_nimscript.nims2
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler/pathutils.nim b/compiler/pathutils.nim
index 8138a245a..3a501a417 100644
--- a/compiler/pathutils.nim
+++ b/compiler/pathutils.nim
@@ -12,7 +12,7 @@
 
 import os, pathnorm
 
-when defined(nimSlimSystem):
+when defined(nimPreviewSlimSystem):
   import std/syncio
 
 type
diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim
index c10fc6ac9..9c65d0732 100644
--- a/lib/posix/posix.nim
+++ b/lib/posix/posix.nim
@@ -37,7 +37,7 @@
 when defined(nimHasStyleChecks):
   {.push styleChecks: off.}
 
-when defined(nimSlimSystem):
+when defined(nimPreviewSlimSystem):
   import std/syncio
 
 # TODO these constants don't seem to be fetched from a header file for unknown
diff --git a/tests/test_nimscript.nims b/tests/test_nimscript.nims
index b380570ff..5fc77f6e4 100644
--- a/tests/test_nimscript.nims
+++ b/tests/test_nimscript.nims
@@ -5,7 +5,7 @@
 
 from stdtest/specialpaths import buildDir
 
-when defined(nimSlimSystem):
+when defined(nimPreviewSlimSystem):
   import std/syncio
 
 import std/[