bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Dan Nicolaescu
Subject: bug#10155: 23.3; HEAD broken by recent commit for emacsclient
Date: Mon, 28 Nov 2011 13:44:01 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: address@hidden (Randal L. Schwartz)
>> Cc: address@hidden
>> 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

Can this be done in gnulib?
Better hide such ugliness in the compatibility layer...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]