summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-06-13 05:09:17 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-06-13 05:09:17 +0000
commit2868e2bb2b1cf521f022c2f26ac0adccd8f45749 (patch)
tree4b9fbabd46767dcc3021b9cf1fb21e0f0694a914 /perl.h
parentdca6e23fb83957e896abba24cceb553cbf56fb78 (diff)
downloadperl-2868e2bb2b1cf521f022c2f26ac0adccd8f45749.tar.gz
The changes #8803 and #8896 that fixed JPL for use with
JDK 1.2/1.3 had somehow disappeared. p4raw-link: @8803 on //depot/perl: 103a71894980ab015937511f33d840c7f030e8a4 p4raw-id: //depot/perl@19756
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index a7360f8067..f43316861d 100644
--- a/perl.h
+++ b/perl.h
@@ -1924,6 +1924,13 @@ typedef struct clone_params CLONE_PARAMS;
# endif
#endif
+#ifdef JPL
+ /* E.g. JPL needs to operate on a copy of the real environment.
+ * JDK 1.2 and 1.3 seem to get upset if the original environment
+ * is diddled with. */
+# define NEED_ENVIRON_DUP_FOR_MODIFY
+#endif
+
#ifndef PERL_SYS_INIT3
# define PERL_SYS_INIT3(argvp,argcp,envp) PERL_SYS_INIT(argvp,argcp)
#endif