提交 3d27b1fa 编写于 作者: R Richard Levitte

Set DLOPEN_FLAG the same way on NetBSD as on OpenBSD.

PR: 58, submitted by andrew@cis.uoguelph.ca
上级 6298bf90
...@@ -114,7 +114,7 @@ DSO_METHOD *DSO_METHOD_dlfcn(void) ...@@ -114,7 +114,7 @@ DSO_METHOD *DSO_METHOD_dlfcn(void)
* as we don't have autoconf yet, I'm implementing a hack that could * 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 * be hacked further relatively easily to deal with cases as we find
* them. Initially this is to cope with OpenBSD. */ * them. Initially this is to cope with OpenBSD. */
#ifdef __OpenBSD__ #if defined(__OpenBSD__) || defined(__NetBSD__)
# ifdef DL_LAZY # ifdef DL_LAZY
# define DLOPEN_FLAG DL_LAZY # define DLOPEN_FLAG DL_LAZY
# else # else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册