diff options
author | Yuriy Glukhov <yutiy.glukhov@gmail.com> | 2016-03-05 14:18:36 +0200 |
---|---|---|
committer | Yuriy Glukhov <yutiy.glukhov@gmail.com> | 2016-03-05 14:18:36 +0200 |
commit | dca3daf4d441c98898c355d84399f78cd23a13f7 (patch) | |
tree | 3c7103434cdd2fb2d7f80c238bf168d62344adfd /lib/pure | |
parent | 1d443cec8d5b5e7bd7d73b005527e6224cd2346a (diff) | |
download | Nim-dca3daf4d441c98898c355d84399f78cd23a13f7.tar.gz |
Avoid using private _NSGetEnviron API on iOS.
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/os.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim index a92b74484..017385825 100644 --- a/lib/pure/os.nim +++ b/lib/pure/os.nim @@ -671,7 +671,7 @@ when defined(windows): else: const - useNSGetEnviron = defined(macosx) + useNSGetEnviron = defined(macosx) and not defined(ios) when useNSGetEnviron: # From the manual: |