mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-01 17:41:17 +00:00
Merge pull request #3935 from yglukhov/ios-environ
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