summaryrefslogtreecommitdiff
path: root/vms/vmsish.h
diff options
context:
space:
mode:
authorJohn E. Malmberg <wb8tyw@qsl.net>2006-03-27 03:05:33 -0500
committerCraig A. Berry <craigberry@mac.com>2006-03-28 04:01:21 +0000
commit988c775cbb77355593cf99dafc219bbd3d6a62d5 (patch)
tree2a53b0979c69bb40c2969c5fff263cc5a0cba3d8 /vms/vmsish.h
parentedb2152a8435aa2e1308442c03e82c10e128574e (diff)
downloadperl-988c775cbb77355593cf99dafc219bbd3d6a62d5.tar.gz
[patch@27613] VMS long file path support active.
From: "John E. Malmberg" <wb8tyw@qsl.net> Message-id: <4427E31D.2030801@qsl.net> p4raw-id: //depot/perl@27618
Diffstat (limited to 'vms/vmsish.h')
-rw-r--r--vms/vmsish.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/vms/vmsish.h b/vms/vmsish.h
index 6dc97a4be2..b9595fb284 100644
--- a/vms/vmsish.h
+++ b/vms/vmsish.h
@@ -63,6 +63,31 @@
# define DONT_MASK_RTL_CALLS
#endif
+#include <namdef.h>
+
+/* Set the maximum filespec size here as it is larger for EFS file
+ * specifications.
+ */
+#ifndef __VAX
+#ifndef VMS_MAXRSS
+#ifdef NAML$C_MAXRSS
+#define VMS_MAXRSS (NAML$C_MAXRSS+1)
+#ifndef VMS_LONGNAME_SUPPORT
+#define VMS_LONGNAME_SUPPORT 1
+#endif /* VMS_LONGNAME_SUPPORT */
+#endif /* NAML$C_MAXRSS */
+#endif /* VMS_MAXRSS */
+#endif
+
+#ifndef VMS_MAXRSS
+#define VMS_MAXRSS (NAM$C_MAXRSS + 1)
+#endif
+
+#ifndef MAXPATHLEN
+#define MAXPATHLEN (VMS_MAXRSS - 1)
+#endif
+
+
/* Note that we do, in fact, have this */
#define HAS_GETENV_SV
#define HAS_GETENV_LEN