summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2016-09-01 13:30:28 -0500
committerCraig A. Berry <craigberry@mac.com>2016-09-01 17:38:15 -0500
commit483efd0abe32386a3d82710532464cf4e9a0124b (patch)
treec70971a6c178b727d01f7c349caee4ad750abaaa /perlvars.h
parent7c280bee056f2462f4b4aa2150a160fb9176601e (diff)
downloadperl-483efd0abe32386a3d82710532464cf4e9a0124b.tar.gz
Make PERLLIB_SEP dynamic on VMS.
Because if we're running under a Unix shell, the path separator is likely to meet the expectations of Unix shell scripts better if it's the Unix ':' rather than the VMS '|'. There is no change when running under DCL.
Diffstat (limited to 'perlvars.h')
-rw-r--r--perlvars.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/perlvars.h b/perlvars.h
index 89e2e1eb52..884d57c504 100644
--- a/perlvars.h
+++ b/perlvars.h
@@ -248,3 +248,10 @@ PERLVAR(G, malloc_mutex, perl_mutex) /* Mutex for malloc */
PERLVARI(G, hash_seed_set, bool, FALSE) /* perl.c */
PERLVARA(G, hash_seed, PERL_HASH_SEED_BYTES, unsigned char) /* perl.c and hv.h */
+
+/* The path separator can vary depending on whether we're running under DCL or
+ * a Unix shell.
+ */
+#ifdef __VMS
+PERLVAR(G, perllib_sep, char)
+#endif