Avoid using private _NSGetEnviron API on iOS.

This commit is contained in:
Yuriy Glukhov
2016-03-05 14:18:36 +02:00
parent 1d443cec8d
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: