From: Wilfredo Sánchez Date: Tue, 22 Aug 2000 19:31:27 +0000 (-0700) Subject: (Mac OS X): Don't #define environ unless PERL_CORE X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=82cabb9e835749f03238f53237ddf3364c766eaa;p=p5sagit%2Fp5-mst-13.2.git (Mac OS X): Don't #define environ unless PERL_CORE Message-Id: <200008230231.TAA00461@ns1.abstrata.com> p4raw-id: //depot/perl@6788 --- diff --git a/perl.h b/perl.h index 8276c46..115e878 100644 --- a/perl.h +++ b/perl.h @@ -2223,7 +2223,7 @@ typedef OP* (CPERLscope(*PPADDR_t)[]) (pTHX); # define environ (*environ_pointer) EXT char *** environ_pointer; # else -# if defined(__APPLE__) +# if defined(__APPLE__) && defined(PERL_CORE) # include /* for the env array */ # define environ (*_NSGetEnviron()) # endif