Displaying 1 result from an estimated 1 matches for "__darwin_unix03".
2007 Jan 08
2
can't compile on OSX: unsetenv header issues
...not ignored as it ought to be
I suspect there is some sort of configure magic that needs to happen
to get the POSIX compatible unsetenv on OSX. Here's what I think is
the relevant bit from stdlib.h, but I'm hoping someone with more OSX
experience will recognize what needs to be done.
#if __DARWIN_UNIX03
int unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
#else /* !__DARWIN_UNIX03 */
void unsetenv(const char *);
#endif /* __DARWIN_UNIX03 */
+ seth