Skip to content

Commit f6b307d

Browse files
committed
VMS: Redefine _XOPEN_SOURCE_EXTENDED with the value 1
Some versions if the VMS C system header files seem to require this. Fixes openssl#24466 Reviewed-by: Tomas Mraz <[email protected]> Reviewed-by: Todd Short <[email protected]> (Merged from openssl#24470)
1 parent abe05fd commit f6b307d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Configurations/10-main.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2061,7 +2061,8 @@ my %targets = (
20612061
? "/WARNINGS=DISABLE=(".join(",",@warnings).")" : (); }),
20622062
cflag_incfirst => '/FIRST_INCLUDE=',
20632063
lib_defines =>
2064-
add("OPENSSL_USE_NODELETE", "_XOPEN_SOURCE", "_XOPEN_SOURCE_EXTENDED",
2064+
add("OPENSSL_USE_NODELETE",
2065+
"_XOPEN_SOURCE", "_XOPEN_SOURCE_EXTENDED=1",
20652066
sub {
20662067
return vms_info()->{def_zlib}
20672068
? "LIBZ=\"\"\"".vms_info()->{def_zlib}."\"\"\"" : ();

0 commit comments

Comments
 (0)