diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2019-10-02 08:57:24 -0700 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-10-02 17:57:24 +0200 |
commit | 244657035050c2b513587de45bebfefa553d6456 (patch) | |
tree | 02900a4cfc0b28dede6652a0b8159cbe62b5752e /lib/core | |
parent | 98e76a1058df52c281a80921828f73396ac69d73 (diff) | |
download | Nim-244657035050c2b513587de45bebfefa553d6456.tar.gz |
fixes #12330 (#12331)
Diffstat (limited to 'lib/core')
-rw-r--r-- | lib/core/locks.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/core/locks.nim b/lib/core/locks.nim index 392c8aed4..42d67388f 100644 --- a/lib/core/locks.nim +++ b/lib/core/locks.nim @@ -11,7 +11,8 @@ when not compileOption("threads") and not defined(nimdoc): - {.error: "Locks requires --threads:on option.".} + when false: # fix #12330 + {.error: "Locks requires --threads:on option.".} const insideRLocksModule = false include "system/syslocks" |