[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OSX breakage
From: |
Eli Zaretskii |
Subject: |
Re: OSX breakage |
Date: |
Mon, 28 Nov 2011 19:47:33 +0200 |
> Date: Mon, 28 Nov 2011 16:36:25 +0100
> From: Mario Lassnig <address@hidden>
>
> The remedy (to include at the appropriate time and place):
>
> #include <crt_externs.h>
> #define environ (*_NSGetEnviron())
Is there really no system header on OS X that declares `environ'? I'm
surprised.
If there really isn't, and we need to use #ifdef, I'm inclined to use
"extern char **environ;". What would be a MAC OS X specific symbol to
use with such an ifdef?