One more macos fix.
This commit is contained in:
parent
f614223d40
commit
0305277a6c
|
@ -30,7 +30,7 @@ elif defined(macosx):
|
||||||
proc fastEpochTime*(): uint64 {.inline.} =
|
proc fastEpochTime*(): uint64 {.inline.} =
|
||||||
var t: Timeval
|
var t: Timeval
|
||||||
posix_gettimeofday(t)
|
posix_gettimeofday(t)
|
||||||
result = (a.tv_sec * 1_000 + a.tv_usec div 1_000)
|
result = (t.tv_sec * 1_000 + t.tv_usec div 1_000)
|
||||||
|
|
||||||
elif defined(posix):
|
elif defined(posix):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue