diff options
author | Araq <rumpf_a@web.de> | 2015-02-16 02:56:50 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-02-16 02:56:50 +0100 |
commit | c11fa7942e53655cc38527b0b87aaf4949d92d05 (patch) | |
tree | 8f66c7732f80a1e8aae992418d94a34614ee5de4 /lib/system | |
parent | eaf00dd1fb3ea9da72a774d06ea561d0533ff47a (diff) | |
parent | d8c4c576372f63219b90203a71855c93a10ddda3 (diff) | |
download | Nim-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.nim | 4 |
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 |