[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OSX breakage
From: |
Paul Eggert |
Subject: |
Re: OSX breakage |
Date: |
Mon, 28 Nov 2011 11:00:00 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 |
On 11/28/11 09:47, Eli Zaretskii wrote:
> Is there really no system header on OS X that declares `environ'? I'm
> surprised.
That's the old, old Unix tradition, alas. It's not just OS X.
The "right" way to fix it is to declare "extern char **environ;"
if it's not already declared. There's a Gnulib module for that,
which I can look into -- it puts the declaration into a substitute
unistd.h if unistd.h doesn't already declare it.