aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
Diffstat (limited to 'src/s')
-rw-r--r--src/s/vms.h9
-rw-r--r--src/s/vms4-4.h2
-rw-r--r--src/s/vms5-5.h2
3 files changed, 13 insertions, 0 deletions
diff --git a/src/s/vms.h b/src/s/vms.h
index dc7877eaa67..1338cdb5718 100644
--- a/src/s/vms.h
+++ b/src/s/vms.h
@@ -109,6 +109,11 @@ Boston, MA 02111-1307, USA. */
109 your system and must be used only through an encapsulation 109 your system and must be used only through an encapsulation
110 (Which you should place, by convention, in sysdep.c). */ 110 (Which you should place, by convention, in sysdep.c). */
111 111
112/* In olden days, VMS filenames did not support hyphen (i.e., the "-"
113 character). You can #undef this in vmsX-Y.h for newer versions. */
114
115#define NO_HYPHENS_IN_FILENAMES
116
112/* Do you have the sharable library bug? If you link with a sharable 117/* Do you have the sharable library bug? If you link with a sharable
113 library that contains psects with the NOSHR attribute and also refer to 118 library that contains psects with the NOSHR attribute and also refer to
114 those psects in your program, the linker give you a private version of 119 those psects in your program, the linker give you a private version of
@@ -135,6 +140,10 @@ Boston, MA 02111-1307, USA. */
135 140
136/* #define READ_SYSUAF */ 141/* #define READ_SYSUAF */
137 142
143/* Traditionally, filenames on VMS are always upper case. */
144
145#define FILE_SYSTEM_CASE Fupcase
146
138/* On VMS these have a different name */ 147/* On VMS these have a different name */
139 148
140#define index strchr 149#define index strchr
diff --git a/src/s/vms4-4.h b/src/s/vms4-4.h
index 0abd8259143..7491f5c8f80 100644
--- a/src/s/vms4-4.h
+++ b/src/s/vms4-4.h
@@ -1,5 +1,7 @@
1#include "vms.h" 1#include "vms.h"
2#define VMS4_4 2#define VMS4_4
3 3
4#undef NO_HYPHENS_IN_FILENAMES
5
4/* arch-tag: 2e65c7ad-0d17-45a0-b4cb-3e76c72ea9d5 6/* arch-tag: 2e65c7ad-0d17-45a0-b4cb-3e76c72ea9d5
5 (do not change this comment) */ 7 (do not change this comment) */
diff --git a/src/s/vms5-5.h b/src/s/vms5-5.h
index ac0ba9461a2..83b08b42813 100644
--- a/src/s/vms5-5.h
+++ b/src/s/vms5-5.h
@@ -2,6 +2,8 @@
2#define VMS5_5 2#define VMS5_5
3#define VMS4_4 3#define VMS4_4
4 4
5#undef NO_HYPHENS_IN_FILENAMES
6
5/* The bug that SHARABLE_LIB_BUG fixes is gone in version 5.5 of VMS. 7/* The bug that SHARABLE_LIB_BUG fixes is gone in version 5.5 of VMS.
6 And defining it causes lossage because sys_errlist has a different 8 And defining it causes lossage because sys_errlist has a different
7 number of elements. */ 9 number of elements. */