mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-26 12:55:06 +00:00
Avoid using private _NSGetEnviron API on iOS.
This commit is contained in:
@@ -671,7 +671,7 @@ when defined(windows):
|
||||
|
||||
else:
|
||||
const
|
||||
useNSGetEnviron = defined(macosx)
|
||||
useNSGetEnviron = defined(macosx) and not defined(ios)
|
||||
|
||||
when useNSGetEnviron:
|
||||
# From the manual:
|
||||
|
||||
Reference in New Issue
Block a user