mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
@@ -11,7 +11,10 @@
|
||||
|
||||
|
||||
when not compileOption("threads") and not defined(nimdoc):
|
||||
{.error: "Rlocks requires --threads:on option.".}
|
||||
when false:
|
||||
# make rlocks modlue consistent with locks module,
|
||||
# so they can replace each other seamlessly.
|
||||
{.error: "Rlocks requires --threads:on option.".}
|
||||
|
||||
const insideRLocksModule = true
|
||||
include "system/syslocks"
|
||||
|
||||
Reference in New Issue
Block a user