We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ecef8f commit fc1f909Copy full SHA for fc1f909
lib/pure/includes/osenv.nim
@@ -68,7 +68,7 @@ when defined(windows) and not defined(nimscript):
68
69
else:
70
const
71
- useNSGetEnviron = (defined(macosx) and not defined(ios)) or defined(nimscript)
+ useNSGetEnviron = (defined(macosx) and not defined(ios) and not defined(emscripten)) or defined(nimscript)
72
73
when useNSGetEnviron:
74
# From the manual:
lib/system/timers.nim
@@ -31,7 +31,7 @@ when defined(windows):
31
32
result = Nanos(float64(a.int64 - b.int64) * performanceCounterRate)
33
34
-elif defined(macosx):
+elif defined(macosx) and not defined(emscripten):
35
type
36
MachTimebaseInfoData {.pure, final,
37
importc: "mach_timebase_info_data_t",
0 commit comments