]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
VMS: Redefine _XOPEN_SOURCE_EXTENDED with the value 1
authorRichard Levitte <levitte@openssl.org>
Thu, 23 May 2024 05:54:27 +0000 (07:54 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 29 May 2024 14:06:40 +0000 (16:06 +0200)
Some versions if the VMS C system header files seem to require this.

Fixes #24466

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/24470)

Configurations/10-main.conf

index 36ecf3b263093f76a9a059b181a17b52cf7c9b31..ca70d58e19873037587ee27386153001e74832ce 100644 (file)
@@ -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}."\"\"\"" : ();