mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-08 14:03:23 +00:00
timers.nim: avoid parser warning
This commit is contained in:
@@ -49,7 +49,7 @@ elif defined(macosx):
|
||||
mach_timebase_info(timeBaseInfo)
|
||||
|
||||
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):
|
||||
type
|
||||
|
||||
Reference in New Issue
Block a user