Merge pull request #2339 from gradha/pr_fixes_osx_environ_use
Enables use of NSGetEnviron for osx binary compatibility. Refs #965.
This commit is contained in:
commit
b12ce48c78
1 changed files with 2 additions and 2 deletions
|
|
@ -1121,8 +1121,8 @@ when defined(windows):
|
||||||
|
|
||||||
else:
|
else:
|
||||||
const
|
const
|
||||||
useNSGetEnviron = defined(macosx) and
|
useNSGetEnviron = defined(macosx)
|
||||||
(defined(createNimRtl) or defined(useNimRtl))
|
|
||||||
when useNSGetEnviron:
|
when useNSGetEnviron:
|
||||||
# From the manual:
|
# From the manual:
|
||||||
# Shared libraries and bundles don't have direct access to environ,
|
# Shared libraries and bundles don't have direct access to environ,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue