all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: mario@lassnig.net
Cc: emacs-devel@gnu.org
Subject: Re: OSX breakage
Date: Mon, 28 Nov 2011 19:47:33 +0200	[thread overview]
Message-ID: <838vn06swa.fsf@gnu.org> (raw)
In-Reply-To: <4ED3AA79.8060605@lassnig.net>

> Date: Mon, 28 Nov 2011 16:36:25 +0100
> From: Mario Lassnig <mario@lassnig.net>
> 
> 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?



  parent reply	other threads:[~2011-11-28 17:47 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28 15:36 OSX breakage Mario Lassnig
2011-11-28 16:48 ` Paul Eggert
2011-11-28 17:47 ` Eli Zaretskii [this message]
2011-11-28 19:00   ` Paul Eggert
2011-11-29  5:00     ` Chong Yidong
2011-11-29  9:27       ` Paul Eggert
2011-11-29  9:28       ` bug#9772: " Paul Eggert
2011-11-29 13:56         ` bug#9960: bug#10155: " Stefan Monnier
2011-11-29 16:58           ` Paul Eggert
2011-11-29 17:30             ` bug#9772: " Eli Zaretskii
2011-11-29 18:22               ` bug#9960: " Paul Eggert
2011-11-30  2:45                 ` bug#10155: bug#9772: " Chong Yidong
2011-11-30  4:04                   ` Eli Zaretskii
2011-11-30  8:14                     ` Chong Yidong
2011-11-30 11:15                       ` bug#10155: " Mario Lassnig
2011-12-01 16:12                         ` Paul Eggert
2011-11-30 17:48                       ` bug#10155: " Jan Djärv
2011-11-29 16:39         ` bug#9772: " Eli Zaretskii
2011-11-30  2:27           ` Chong Yidong
2011-11-28 19:29   ` Randal L. Schwartz
2011-11-29 11:45 ` Ashish SHUKLA
2011-11-30 12:08   ` Carsten Mattner
2011-11-30 15:00   ` Ashish SHUKLA
  -- strict thread matches above, loose matches on Subject: below --
2011-11-28 18:35 Mario Lassnig

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838vn06swa.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mario@lassnig.net \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.