summaryrefslogtreecommitdiffstats
path: root/src/LYVMSdef.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:21:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:21:21 +0000
commit510ed32cfbffa6148018869f5ade416505a450b3 (patch)
tree0aafabcf3dfaab7685fa0fcbaa683dafe287807e /src/LYVMSdef.h
parentInitial commit. (diff)
downloadlynx-510ed32cfbffa6148018869f5ade416505a450b3.tar.xz
lynx-510ed32cfbffa6148018869f5ade416505a450b3.zip
Adding upstream version 2.9.0rel.0.upstream/2.9.0rel.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/LYVMSdef.h')
-rw-r--r--src/LYVMSdef.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/LYVMSdef.h b/src/LYVMSdef.h
new file mode 100644
index 0000000..6fde3c3
--- /dev/null
+++ b/src/LYVMSdef.h
@@ -0,0 +1,18 @@
+
+#ifndef LYVMSDEF_H
+#define LYVMSDEF_H
+
+/*
+ * These are VMS system definitions which may not be in the headers
+ * of old VMS compilers and contain non-ANSI extended tokens that
+ * generate warnings by some Unix compilers while looking for the
+ * "#endif" which closes the outer "#ifdef VMS".
+ */
+#ifndef CLI$M_TRUSTED
+#define CLI$M_TRUSTED 64 /* May not be in the compiler's clidef.h */
+#endif /* !CLI$M_TRUSTED */
+#ifndef LIB$_INVARG
+#define LIB$_INVARG 1409588 /* May not be in the compiler's libdef.h */
+#endif /* !LIB$_INVARG */
+
+#endif /* LYVMSDEF_H */