VMS: It seems DEC C doesn't handle certain header files quite right
authorRichard Levitte <levitte@openssl.org>
Mon, 11 Apr 2016 16:42:52 +0000 (18:42 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 29 Apr 2016 13:19:33 +0000 (15:19 +0200)
With DEC C on VMS, you can use __DECC_INCLUDE_PROLOGUE.H and
__DECC_INCLUDE_EPILOGUE.H to include some DEC C specific features or
pragmas without having to touch the other header files.

It seems, however, that the current version of the compiler requires
the file names to be upcased, or it doesn't handle them quite right.

Reviewed-by: Andy Polyakov <appro@openssl.org>
include/openssl/__DECC_INCLUDE_EPILOGUE.H [new file with mode: 0644]
include/openssl/__DECC_INCLUDE_PROLOGUE.H [new file with mode: 0644]
include/openssl/__decc_include_epilogue.h [deleted file]
include/openssl/__decc_include_prologue.h [deleted file]

diff --git a/include/openssl/__DECC_INCLUDE_EPILOGUE.H b/include/openssl/__DECC_INCLUDE_EPILOGUE.H
new file mode 100644 (file)
index 0000000..584384f
--- /dev/null
@@ -0,0 +1,7 @@
+/*
+ * This file is only used by HP C on VMS, and is included automatically
+ * after each header file from this directory
+ */
+
+/* restore state.  Must correspond to the save in __decc_include_prologue.h */
+#pragma names restore
diff --git a/include/openssl/__DECC_INCLUDE_PROLOGUE.H b/include/openssl/__DECC_INCLUDE_PROLOGUE.H
new file mode 100644 (file)
index 0000000..455181c
--- /dev/null
@@ -0,0 +1,11 @@
+/*
+ * This file is only used by HP C on VMS, and is included automatically
+ * after each header file from this directory
+ */
+
+/* save state */
+#pragma names save
+/* have the compiler shorten symbols larger than 31 chars to 23 chars
+ * followed by a 8 hex char CRC
+ */
+#pragma names as_is,shortened
diff --git a/include/openssl/__decc_include_epilogue.h b/include/openssl/__decc_include_epilogue.h
deleted file mode 100644 (file)
index 584384f..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- * This file is only used by HP C on VMS, and is included automatically
- * after each header file from this directory
- */
-
-/* restore state.  Must correspond to the save in __decc_include_prologue.h */
-#pragma names restore
diff --git a/include/openssl/__decc_include_prologue.h b/include/openssl/__decc_include_prologue.h
deleted file mode 100644 (file)
index 455181c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * This file is only used by HP C on VMS, and is included automatically
- * after each header file from this directory
- */
-
-/* save state */
-#pragma names save
-/* have the compiler shorten symbols larger than 31 chars to 23 chars
- * followed by a 8 hex char CRC
- */
-#pragma names as_is,shortened