Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour authored and rayman22201 committed Oct 4, 2019
1 parent 35ea1ac commit 54e4828
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 54e4828

Please sign in to comment.