summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-02-16 02:56:50 +0100
committerAraq <rumpf_a@web.de>2015-02-16 02:56:50 +0100
commitc11fa7942e53655cc38527b0b87aaf4949d92d05 (patch)
tree8f66c7732f80a1e8aae992418d94a34614ee5de4 /lib/system
parenteaf00dd1fb3ea9da72a774d06ea561d0533ff47a (diff)
parentd8c4c576372f63219b90203a71855c93a10ddda3 (diff)
downloadNim-c11fa7942e53655cc38527b0b87aaf4949d92d05.tar.gz
Merge branch 'devel' of https://github.com/Araq/Nim into devel
Diffstat (limited to 'lib/system')
-rw-r--r--lib/system/threads.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/system/threads.nim b/lib/system/threads.nim
index 496c31af1..4e0720007 100644
--- a/lib/system/threads.nim
+++ b/lib/system/threads.nim
@@ -95,7 +95,9 @@ when defined(windows):
       importc: "TlsGetValue", stdcall, dynlib: "kernel32".}
   
 else:
-  {.passL: "-pthread".}
+  when not defined(macosx):
+    {.passL: "-pthread".}
+
   {.passC: "-pthread".}
 
   type