Commit 3d27b1fa authored by Richard Levitte's avatar Richard Levitte
Browse files

Set DLOPEN_FLAG the same way on NetBSD as on OpenBSD.

PR: 58, submitted by andrew@cis.uoguelph.ca
parent 6298bf90
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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