summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dynamic.h2
-rw-r--r--include/typedefs.h6
2 files changed, 5 insertions, 3 deletions
diff --git a/include/dynamic.h b/include/dynamic.h
index 5e66ddbb0..bbe89dc7e 100644
--- a/include/dynamic.h
+++ b/include/dynamic.h
@@ -33,11 +33,9 @@ class CoreExport DLLManager : public classbase
*/
std::string err;
-#ifdef _WIN32
/** Sets the last error string
*/
void RetrieveLastError();
-#endif
public:
/** This constructor loads the module using dlopen()
diff --git a/include/typedefs.h b/include/typedefs.h
index 06f704120..03593d40f 100644
--- a/include/typedefs.h
+++ b/include/typedefs.h
@@ -120,7 +120,11 @@ typedef std::map<std::string, file_cache> ConfigFileCache;
/** A hash of commands used by the core
*/
-typedef nspace::hash_map<std::string,Command*> Commandtable;
+#ifdef HASHMAP_DEPRECATED
+ typedef nspace::hash_map<std::string, Command*, nspace::insensitive, irc::StrHashComp> Commandtable;
+#else
+ typedef nspace::hash_map<std::string, Command*, nspace::hash<std::string>, irc::StrHashComp> Commandtable;
+#endif
/** Membership list of a channel */
typedef std::map<User*, Membership*> UserMembList;