From: Richard Levitte Date: Thu, 23 May 2024 05:54:27 +0000 (+0200) Subject: VMS: Redefine _XOPEN_SOURCE_EXTENDED with the value 1 X-Git-Tag: openssl-3.3.1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=717f5ddb763234c18c15e6bcf490b86cc8a55de3;p=thirdparty%2Fopenssl.git VMS: Redefine _XOPEN_SOURCE_EXTENDED with the value 1 Some versions if the VMS C system header files seem to require this. Fixes #24466 Reviewed-by: Tomas Mraz Reviewed-by: Todd Short (Merged from https://github.com/openssl/openssl/pull/24470) (cherry picked from commit f6b307d860832d3a76be20a693b92a71c83a3055) --- diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 36ecf3b2630..ca70d58e198 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -2061,7 +2061,8 @@ my %targets = ( ? "/WARNINGS=DISABLE=(".join(",",@warnings).")" : (); }), cflag_incfirst => '/FIRST_INCLUDE=', lib_defines => - add("OPENSSL_USE_NODELETE", "_XOPEN_SOURCE", "_XOPEN_SOURCE_EXTENDED", + add("OPENSSL_USE_NODELETE", + "_XOPEN_SOURCE", "_XOPEN_SOURCE_EXTENDED=1", sub { return vms_info()->{def_zlib} ? "LIBZ=\"\"\"".vms_info()->{def_zlib}."\"\"\"" : ();