summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-05-17 15:15:44 +0200
committerRichard Levitte <levitte@openssl.org>2021-05-19 12:41:34 +0200
commitac2aa13aaf6d4c5457fd99edd82659cb5b662816 (patch)
tree2d6ec0ef75b1e28f66d756e72282f276e253ffd8 /include
parentbba402ece781db0918e0a27289cf38479bafb023 (diff)
downloadopenssl-new-ac2aa13aaf6d4c5457fd99edd82659cb5b662816.tar.gz
Fix include/openssl/e_os2.h for VMS
It would try to define OPENSSL_SYS_VMS if that macro is defined. That's just not right. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15319)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/e_os2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/e_os2.h b/include/openssl/e_os2.h
index f17a373493..4ee41cad26 100644
--- a/include/openssl/e_os2.h
+++ b/include/openssl/e_os2.h
@@ -102,11 +102,11 @@ extern "C" {
# endif
/* ------------------------------- OpenVMS -------------------------------- */
-# if defined(__VMS) || defined(VMS) || defined(OPENSSL_SYS_VMS)
+# if defined(__VMS) || defined(VMS)
# if !defined(OPENSSL_SYS_VMS)
# undef OPENSSL_SYS_UNIX
+# define OPENSSL_SYS_VMS
# endif
-# define OPENSSL_SYS_VMS
# if defined(__DECC)
# define OPENSSL_SYS_VMS_DECC
# elif defined(__DECCXX)