Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour authored and alehander92 committed Dec 2, 2019
1 parent 8c26cb2 commit b592db8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/core/locks.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b592db8

Please sign in to comment.