Set DLOPEN_FLAG the same way on NetBSD as on OpenBSD.

PR: 58, submitted by andrew@cis.uoguelph.ca
This commit is contained in:
Richard Levitte 2002-05-29 21:00:08 +00:00
parent 6298bf9073
commit 3d27b1fa85

View File

@ -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