From dca3daf4d441c98898c355d84399f78cd23a13f7 Mon Sep 17 00:00:00 2001 From: Yuriy Glukhov Date: Sat, 5 Mar 2016 14:18:36 +0200 Subject: [PATCH] Avoid using private _NSGetEnviron API on iOS. --- lib/pure/os.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/os.nim b/lib/pure/os.nim index a92b744848..0173858253 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: