diff options
author | Richard Levitte <levitte@openssl.org> | 2024-04-10 10:18:46 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2024-04-11 13:03:53 +0200 |
commit | 7f04bb065d9d948d049ef1ef1bd4062cb7831392 (patch) | |
tree | 1ee0f83e8aa9f158b43d7adc45471511e663a25b /crypto/conf/conf_sap.c | |
parent | 7a0d43798598401e85389e1b1d55efb44e52ba08 (diff) |
VMS: Move defining _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED to config target
For all other platforms that need these macros defined, that's how it's
done, so we have VMS follow suit. That avoids a crash between in source
definitions and command line definitions on some other platforms.
Fixes #24075
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24083)
Diffstat (limited to 'crypto/conf/conf_sap.c')
-rw-r--r-- | crypto/conf/conf_sap.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/conf/conf_sap.c b/crypto/conf/conf_sap.c index 15fd2f3f9d..6b3defe0fc 100644 --- a/crypto/conf/conf_sap.c +++ b/crypto/conf/conf_sap.c @@ -7,8 +7,6 @@ * https://www.openssl.org/source/license.html */ -#define _XOPEN_SOURCE_EXTENDED /* To get a definition of strdup() */ - #include <stdio.h> #include <openssl/crypto.h> #include "internal/cryptlib.h" |