summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorWilfredo Sánchez <wsanchez@mit.edu>2000-08-22 12:31:27 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-23 15:33:40 +0000
commit82cabb9e835749f03238f53237ddf3364c766eaa (patch)
tree5e81bfc6ac712a113bd093c68a1f7c98cc7bc922 /perl.h
parentd3f9d0fb97769166df4157de943b8e991df9386a (diff)
downloadperl-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index 8276c465b4..115e878216 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 <crt_externs.h> /* for the env array */
# define environ (*_NSGetEnviron())
# endif