From ac2aa13aaf6d4c5457fd99edd82659cb5b662816 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 17 May 2021 15:15:44 +0200 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/15319) --- include/openssl/e_os2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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) -- cgit v1.2.3