summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorAlan Burlison <Alan.Burlison@uk.sun.com>2005-11-04 16:33:30 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-11-04 16:35:17 +0000
commitb0269e46d70f4b0ab23ffad2f94b10b64091afa3 (patch)
treedecdaeec830e613bfc9b56e003f6d70d4605b75d /embed.h
parentbff98e240ae94e05cc03de1adde32b5bee958718 (diff)
downloadperl-b0269e46d70f4b0ab23ffad2f94b10b64091afa3.tar.gz
use clearenv if available
Message-ID: <436B8D5A.4010502@sun.com> p4raw-id: //depot/perl@25996
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index 9105aead1b..a303652de6 100644
--- a/embed.h
+++ b/embed.h
@@ -1651,6 +1651,9 @@
#endif
#ifndef SPRINTF_RETURNS_STRLEN
#endif
+#ifdef PERL_CORE
+#define my_clearenv Perl_my_clearenv
+#endif
#define ck_anoncode Perl_ck_anoncode
#define ck_bitop Perl_ck_bitop
#define ck_concat Perl_ck_concat
@@ -3637,6 +3640,9 @@
#endif
#ifndef SPRINTF_RETURNS_STRLEN
#endif
+#ifdef PERL_CORE
+#define my_clearenv() Perl_my_clearenv(aTHX)
+#endif
#define ck_anoncode(a) Perl_ck_anoncode(aTHX_ a)
#define ck_bitop(a) Perl_ck_bitop(aTHX_ a)
#define ck_concat(a) Perl_ck_concat(aTHX_ a)