From 38f6f99cdf0a87345d646d30a764c089c38627ad Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 17 Jul 2019 21:22:42 +0200 Subject: [PATCH] Cygwin: enable the use of Dl_info and dladdr() These weren't available in Cygwin at the time our DSO code was written, but things have changed since. Fixes #9385 Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/9402) --- crypto/dso/dso_dlfcn.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c index 5e98513441..d076c7ebc4 100644 --- a/crypto/dso/dso_dlfcn.c +++ b/crypto/dso/dso_dlfcn.c @@ -27,8 +27,7 @@ # endif # include # define HAVE_DLINFO 1 -# if defined(__CYGWIN__) || \ - defined(__SCO_VERSION__) || defined(_SCO_ELF) || \ +# if defined(__SCO_VERSION__) || defined(_SCO_ELF) || \ (defined(__osf__) && !defined(RTLD_NEXT)) || \ (defined(__OpenBSD__) && !defined(RTLD_SELF)) || \ defined(__ANDROID__)