]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/bancache.h
More craq
[user/henk/code/inspircd.git] / include / bancache.h
index a96b194f9ce7066f84fdbc722e5a90908e41f575..19fc0d9528909dcc58f89603e2033c8dbe5c0252 100644 (file)
@@ -35,7 +35,11 @@ class CoreExport BanCacheHit : public classbase
 };
 
 // must be defined after class BanCacheHit.
+#ifndef WIN32
 typedef nspace::hash_map<std::string, BanCacheHit *, nspace::hash<std::string> > BanCacheHash;
+#else
+typedef nspace::hash_map<std::string, BanCacheHit*, nspace::hash_compare<string, less<string> > > BanCacheHash;
+#endif
 
 class CoreExport BanCacheManager : public classbase
 {