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
commitb2a2ea1c41874a6a4fb55172db444c6ea894d5a2 (patch)
tree5e81bfc6ac712a113bd093c68a1f7c98cc7bc922 /perl.h
parentb56dddcc33b00e11c9adb7dd0a3b3b3a256335bb (diff)
downloadperl-b2a2ea1c41874a6a4fb55172db444c6ea894d5a2.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