|
From: | Mario Lassnig |
Subject: | OSX breakage |
Date: | Mon, 28 Nov 2011 16:36:25 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
Hi,the recent revno 106533 broke compilation on OSX Lion for me, because environ is not defined in unistd.h (possibly this is the case for previous versions of OSX as well).
The remedy (to include at the appropriate time and place): #include <crt_externs.h> #define environ (*_NSGetEnviron()) Thanks, Mario
[Prev in Thread] | Current Thread | [Next in Thread] |