Avoid using private _NSGetEnviron API on iOS.

This commit is contained in:
Yuriy Glukhov 2016-03-05 14:18:36 +02:00
commit dca3daf4d4

View file

@ -671,7 +671,7 @@ when defined(windows):
else:
const
useNSGetEnviron = defined(macosx)
useNSGetEnviron = defined(macosx) and not defined(ios)
when useNSGetEnviron:
# From the manual: