Subject: Re: bug#10155: 23.3; HEAD broken by recent commit for emacsclient

From: Eli Zaretskii <[email-masked]>
Date: Mon, 28 Nov 2011 20:38:53 +0200

> From: [email-masked] (Randal L. Schwartz)
> Cc: [email-masked]
> Date: Mon, 28 Nov 2011 10:13:47 -0800
> 
> Eli> Can you tell which system header declares `environ' on that
> Eli> platform?
> 
> None... just
> 
>      extern char **environ;
> 
> says the manpage for environ.

Then what would be the appropriate preprocessor symbol to guard such a
declaration?  Would this do:

 #if defined __APPLE__ && defined __MACH__
 extern char **environ;
 #endif

?