summary refs log tree commit diff stats
path: root/lib/system/sysspawn.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system/sysspawn.nim')
-rw-r--r--lib/system/sysspawn.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/sysspawn.nim b/lib/system/sysspawn.nim
index 95cdba65d..5161104a9 100644
--- a/lib/system/sysspawn.nim
+++ b/lib/system/sysspawn.nim
@@ -9,7 +9,7 @@
 
 ## Implements Nimrod's 'spawn'.
 
-when not defined(NimString): 
+when not declared(NimString): 
   {.error: "You must not import this module explicitly".}
 
 {.push stackTrace:off.}