From 3a63c0edab842af3e84ef1cad2b4eb701eece3e1 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sat, 11 Nov 2017 22:23:12 +0100 Subject: Resolve warnings in VC-WIN32 build, which allows to add /WX. It's argued that /WX allows to keep better focus on new code, which motivates its comeback... Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/4721) --- crypto/conf/conf_sap.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crypto/conf/conf_sap.c') diff --git a/crypto/conf/conf_sap.c b/crypto/conf/conf_sap.c index 0815109d81..3d2e065e5b 100644 --- a/crypto/conf/conf_sap.c +++ b/crypto/conf/conf_sap.c @@ -15,6 +15,10 @@ #include #include +#ifdef _WIN32 +# define strdup _strdup +#endif + /* * This is the automatic configuration loader: it is called automatically by * OpenSSL when any of a number of standard initialisation functions are -- cgit v1.2.3