summary refs log tree commit diff stats
path: root/lib/pure/os.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-04-20 20:01:24 +0200
committerAraq <rumpf_a@web.de>2014-04-20 20:01:24 +0200
commite6d17e62731a05110e464854eda79e891aaf2ff5 (patch)
treea689b6063eedb4e586fe205f7dfc59456c6df2e4 /lib/pure/os.nim
parentbe6474af638b72aabeb70cfc5f477cc5fb7af0ce (diff)
downloadNim-e6d17e62731a05110e464854eda79e891aaf2ff5.tar.gz
made large parts of the stdlib gcsafe
Diffstat (limited to 'lib/pure/os.nim')
-rw-r--r--lib/pure/os.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim
index faca17e98..62261753f 100644
--- a/lib/pure/os.nim
+++ b/lib/pure/os.nim
@@ -1564,7 +1564,7 @@ when defined(windows):
   # ourselves. This has the additional benefit that the program's behaviour
   # is always the same -- independent of the used C compiler.
   var
-    ownArgv: seq[string]
+    ownArgv {.threadvar.}: seq[string]
 
   proc paramCount*(): int {.rtl, extern: "nos$1", tags: [FReadIO].} =
     ## Returns the number of `command line arguments`:idx: given to the