miscellaneous bug fixes (#13291)
* fix for emscripten etc * add testcase for #13290 * replace deprecated isNilOrWhitespace
This commit is contained in:
parent
81a43791f9
commit
bf22b44b1f
4 changed files with 12 additions and 3 deletions
|
|
@ -31,7 +31,7 @@ when defined(windows):
|
|||
|
||||
result = Nanos(float64(a.int64 - b.int64) * performanceCounterRate)
|
||||
|
||||
elif defined(macosx):
|
||||
elif defined(macosx) and not defined(emscripten):
|
||||
type
|
||||
MachTimebaseInfoData {.pure, final,
|
||||
importc: "mach_timebase_info_data_t",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue