diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-17 02:02:20 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-17 02:02:20 +0000 |
commit | 3fe5aa037ac907a2e557cc5019588344eaf8dc9f (patch) | |
tree | 3189c4f543c52c97f9e186606fe9aa838849013f /include/modules.h | |
parent | 7af9e42d2150e17139342cb56c3617dc9b75859a (diff) |
Fix numerous errors in Win32 building under Visual Studio due to the many changes to trunk. Trunk now builds under Windows like it should.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2106 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/modules.h b/include/modules.h index cdd76301b..dbf6636e7 100644 --- a/include/modules.h +++ b/include/modules.h @@ -23,7 +23,7 @@ typedef HMODULE ano_module_t; #define dlopen(file, unused) LoadLibrary(file) - MDE const char *dlerror(); + E const char *dlerror(); #define dlsym(file, symbol) (HMODULE)GetProcAddress(file, symbol) #define dlclose(file) FreeLibrary(file) ? 0 : 1 #define ano_modclearerr() SetLastError(0) @@ -219,7 +219,7 @@ enum CommandFlags /** Every services command is a class, inheriting from Command. */ -class Command +class CoreExport Command { int flags; public: @@ -509,7 +509,7 @@ class CoreExport ModuleManager * This needs to be public to be used by FOREACH_MOD and friends. */ static std::vector<Module *> EventHandlers[I_END]; - + /** Load up a list of modules. * @param total_modules The number of modules to load * @param module_list The list of modules to load |