summaryrefslogtreecommitdiff
path: root/vms
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2022-11-24 11:23:44 -0600
committerCraig A. Berry <craigberry@mac.com>2022-11-24 11:28:35 -0600
commit5bd919dc87af18e1bce77d3ead83b704a2903292 (patch)
treebd3c3a394e59ab9a1a491c934f1dc2d2c5bd47e3 /vms
parent69ae4519ab584cc86f0aa519698b760c4fc2ed0d (diff)
downloadperl-5bd919dc87af18e1bce77d3ead83b704a2903292.tar.gz
Remove obsolete workaround for VAX errno macros
We won't be missing these from errno.h for any CRTL in this century and it was always not quite right (but harmlessly redundant) to use the workaround for non-Alpha since if we didn't need it for Alpha then we also didn't need it for any post-Alpha architecture.
Diffstat (limited to 'vms')
-rw-r--r--vms/vmsish.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/vms/vmsish.h b/vms/vmsish.h
index c22b2a009e..044e365488 100644
--- a/vms/vmsish.h
+++ b/vms/vmsish.h
@@ -244,15 +244,9 @@
*/
#define ALTERNATE_SHEBANG "$"
-/* Macros to set errno using the VAX thread-safe calls, if present */
-#if (defined(__DECC) || defined(__DECCXX)) && !defined(__ALPHA)
-# define set_errno(v) (cma$tis_errno_set_value(v))
- void cma$tis_errno_set_value(int __value); /* missing in some errno.h */
-# define set_vaxc_errno(v) (vaxc$errno = (v))
-#else
-# define set_errno(v) (errno = (v))
-# define set_vaxc_errno(v) (vaxc$errno = (v))
-#endif
+/* Macros to set errno. */
+#define set_errno(v) (errno = (v))
+#define set_vaxc_errno(v) (vaxc$errno = (v))
/* Support for 'vmsish' behaviors enabled with C<use vmsish> pragma */