mirror of
https://github.com/php/php-src.git
synced 2025-08-17 22:48:57 +02:00
Define RTLD_NOW to DL_NOW, if RTLD_NOW is not defined (for OpenBSD).
This commit is contained in:
parent
4c920d1da6
commit
1df149ec1a
1 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,9 @@
|
|||
# ifdef HAVE_DLFCN_H
|
||||
# include <dlfcn.h>
|
||||
# endif
|
||||
# if !defined(RTLD_NOW) && defined(DL_NOW)
|
||||
# define RTLD_NOW DL_NOW
|
||||
# endif
|
||||
# define DL_LOAD(libname) dlopen(libname, RTLD_NOW)
|
||||
# define DL_UNLOAD dlclose
|
||||
# define DL_FETCH_SYMBOL dlsym
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue