Re: Linker can't find symbol _environ in Framework
Re: Linker can't find symbol _environ in Framework
- Subject: Re: Linker can't find symbol _environ in Framework
- From: Jerry Krinock <email@hidden>
- Date: Tue, 02 May 2006 16:10:49 -0700
- Thread-topic: Linker can't find symbol _environ in Framework
on 06/05/02 14:36, Eric Albert at email@hidden wrote:
> One way to sort of work around having to change this throughout your
> code is to write
> #define _environ (*_NSGetEnviron())
>
> Sorry about that,
No problem. After eliminating the underscore from _environ, this works:
#define environ (*_NSGetEnviron())
Since MoreSecurity.c is the only file that uses this, I put this at the top
of MoreSecurity.c.
I then recompiled an application (not a framework) with this modififcation,
and it still works.
So, it seems like a good fix. Should I file a bug report on MoreSecurity.c
stating that this #define should be added to it?
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden