diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/module.cpp | 6 | ||||
-rw-r--r-- | src/modulemanager.cpp | 6 | ||||
-rw-r--r-- | src/modules.c | 19 |
3 files changed, 0 insertions, 31 deletions
diff --git a/src/module.cpp b/src/module.cpp index 9c86ec299..18b22180e 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -12,12 +12,6 @@ #include "language.h" #include "version.h" -#if !defined(_WIN32) - #include <dlfcn.h> -#else - const char *ano_moderr(void); -#endif - Module::Module(const std::string &mname, const std::string &creator) { this->name = mname; /* Our name */ diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp index 8ce6ce953..edccd8dc5 100644 --- a/src/modulemanager.cpp +++ b/src/modulemanager.cpp @@ -12,12 +12,6 @@ #include "language.h" #include "version.h" -#if !defined(_WIN32) - #include <dlfcn.h> -#else - const char *ano_moderr(void); -#endif - void ModuleManager::LoadModuleList(int total_modules, char **module_list) { int idx; diff --git a/src/modules.c b/src/modules.c index aa8f09b29..9c5d7d3ff 100644 --- a/src/modules.c +++ b/src/modules.c @@ -15,25 +15,6 @@ #include "language.h" #include "version.h" -#if !defined(_WIN32) - #include <dlfcn.h> - /* Define these for systems without them */ - #ifndef RTLD_NOW - #define RTLD_NOW 0 - #endif - #ifndef RTLD_LAZY - #define RTLD_LAZY RTLD_NOW - #endif - #ifndef RTLD_GLOBAL - #define RTLD_GLOBAL 0 - #endif - #ifndef RTLD_LOCAL - #define RTLD_LOCAL 0 - #endif -#else - const char *ano_moderr(void); -#endif - /** * Declare all the list's we want to use here **/ |