From: Dan Nicolaescu <dann@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 10155@debbugs.gnu.org, "Randal L. Schwartz" <merlyn@stonehenge.com>
Subject: bug#10155: 23.3; HEAD broken by recent commit for emacsclient
Date: Mon, 28 Nov 2011 13:44:01 -0500 [thread overview]
Message-ID: <yxqvcq4w0i6.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <8339d86qiq.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 28 Nov 2011 20:38:53 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: merlyn@stonehenge.com (Randal L. Schwartz)
>> Cc: 10155@debbugs.gnu.org
>> 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...
next prev parent reply other threads:[~2011-11-28 18:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-28 17:19 bug#10155: 23.3; HEAD broken by recent commit for emacsclient Randal L. Schwartz
2011-11-28 18:07 ` Eli Zaretskii
2011-11-28 18:13 ` Randal L. Schwartz
2011-11-28 18:38 ` Eli Zaretskii
2011-11-28 18:40 ` Randal L. Schwartz
2011-11-28 18:44 ` Dan Nicolaescu [this message]
2011-11-28 18:54 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yxqvcq4w0i6.fsf@fencepost.gnu.org \
--to=dann@gnu.org \
--cc=10155@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=merlyn@stonehenge.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).