From: Richard Levitte Date: Wed, 29 May 2002 21:00:33 +0000 (+0000) Subject: Set DLOPEN_FLAG the same way on NetBSD as on OpenBSD. X-Git-Tag: OpenSSL_0_9_7-beta1~25 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=84f4e33ea30d3bc52c0fac6fa4ce6b636b51297f;p=oweals%2Fopenssl.git Set DLOPEN_FLAG the same way on NetBSD as on OpenBSD. PR: 58, submitted by andrew@cis.uoguelph.ca --- diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c index 1a19164d3b..906b4703de 100644 --- a/crypto/dso/dso_dlfcn.c +++ b/crypto/dso/dso_dlfcn.c @@ -114,7 +114,7 @@ DSO_METHOD *DSO_METHOD_dlfcn(void) * as we don't have autoconf yet, I'm implementing a hack that could * be hacked further relatively easily to deal with cases as we find * them. Initially this is to cope with OpenBSD. */ -#ifdef __OpenBSD__ +#if defined(__OpenBSD__) || defined(__NetBSD__) # ifdef DL_LAZY # define DLOPEN_FLAG DL_LAZY # else