summaryrefslogtreecommitdiff
path: root/embedvar.h
diff options
context:
space:
mode:
authorTomasz Konojacki <me@xenu.pl>2022-04-19 16:41:23 +0200
committerxenu <me@xenu.pl>2022-05-29 00:54:10 +0200
commit66673af5955ecc69305b0baad0a8fb6162312409 (patch)
treeff6230ba36209f14b77f4aa92dbaa563a829e2b8 /embedvar.h
parent471430840e1f4a41f79744508c22d7569e6ed3f8 (diff)
downloadperl-66673af5955ecc69305b0baad0a8fb6162312409.tar.gz
make PL_origenviron global
The purpose of PL_origenviron is to preserve the earliest known value of environ, which is a global. All interpreters should share it.
Diffstat (limited to 'embedvar.h')
-rw-r--r--embedvar.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/embedvar.h b/embedvar.h
index 11989eb894..da874d457c 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -214,7 +214,6 @@
#define PL_origalen (vTHX->Iorigalen)
#define PL_origargc (vTHX->Iorigargc)
#define PL_origargv (vTHX->Iorigargv)
-#define PL_origenviron (vTHX->Iorigenviron)
#define PL_origfilename (vTHX->Iorigfilename)
#define PL_ors_sv (vTHX->Iors_sv)
#define PL_osname (vTHX->Iosname)