diff options
author | Wilfredo Sánchez <wsanchez@mit.edu> | 2000-08-22 12:31:27 -0700 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-23 15:33:40 +0000 |
commit | 82cabb9e835749f03238f53237ddf3364c766eaa (patch) | |
tree | 5e81bfc6ac712a113bd093c68a1f7c98cc7bc922 /perl.h | |
parent | d3f9d0fb97769166df4157de943b8e991df9386a (diff) | |
download | perl-82cabb9e835749f03238f53237ddf3364c766eaa.tar.gz |
(Mac OS X): Don't #define environ unless PERL_CORE
Message-Id: <200008230231.TAA00461@ns1.abstrata.com>
p4raw-id: //depot/perl@6788
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 <crt_externs.h> /* for the env array */ # define environ (*_NSGetEnviron()) # endif |