timers.nim: avoid parser warning
This commit is contained in:
parent
ce9815bcf5
commit
359a4b5fac
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ elif defined(macosx):
|
||||||
mach_timebase_info(timeBaseInfo)
|
mach_timebase_info(timeBaseInfo)
|
||||||
|
|
||||||
proc `-`(a, b: Ticks): Nanos =
|
proc `-`(a, b: Ticks): Nanos =
|
||||||
result = (a.int64 - b.int64) * timeBaseInfo.numer div timeBaseInfo.denom
|
result = (a.int64 - b.int64) * timeBaseInfo.numer div timeBaseInfo.denom
|
||||||
|
|
||||||
elif defined(posixRealtime):
|
elif defined(posixRealtime):
|
||||||
type
|
type
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue