summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/modules.h b/include/modules.h
index 49d7a8dbd..30d346150 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -32,11 +32,7 @@ typedef HMODULE ano_module_t;
#else
typedef void * ano_module_t;
-#ifdef HAS_RTLD_LOCAL
-#define ano_modopen(file) dlopen(file, RTLD_LAZY|RTLD_LOCAL)
-#else
#define ano_modopen(file) dlopen(file, RTLD_LAZY)
-#endif
#define ano_moderr() dlerror()
#define ano_modsym(file, symbol) dlsym(file, DL_PREFIX symbol)
#define ano_modclose(file) dlclose(file)