[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OSX breakage
From: |
Randal L. Schwartz |
Subject: |
Re: OSX breakage |
Date: |
Mon, 28 Nov 2011 11:29:50 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) |
>>>>> "Eli" == Eli Zaretskii <address@hidden> writes:
>> Date: Mon, 28 Nov 2011 16:36:25 +0100
>> From: Mario Lassnig <address@hidden>
>>
>> The remedy (to include at the appropriate time and place):
>>
>> #include <crt_externs.h>
>> #define environ (*_NSGetEnviron())
Eli> Is there really no system header on OS X that declares `environ'? I'm
Eli> surprised.
Indeed, there's not. OSX is BSD is old-school. environ is "just there".
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<address@hidden> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion