mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-11-28 10:24:20 +01:00
Add RTLD_DEEPBIND flag for s2 plugins
This commit is contained in:
parent
37408219ba
commit
2c2668c6ee
@ -65,7 +65,11 @@
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
typedef void* HINSTANCE;
|
||||
#ifdef META_IS_SOURCE2
|
||||
#define dlmount(x) dlopen(x,RTLD_NOW | RTLD_DEEPBIND)
|
||||
#else
|
||||
#define dlmount(x) dlopen(x,RTLD_NOW)
|
||||
#endif
|
||||
#define abspath(x, s) realpath(s, x)
|
||||
#define PATH_SEP_STR "/"
|
||||
#define PATH_SEP_CHAR '/'
|
||||
|
Loading…
Reference in New Issue
Block a user