summaryrefslogtreecommitdiff
path: root/include/anope.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/anope.h')
-rw-r--r--include/anope.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/anope.h b/include/anope.h
index 3749005ed..4cd8fc2b0 100644
--- a/include/anope.h
+++ b/include/anope.h
@@ -259,6 +259,11 @@ namespace Anope
*/
struct hash
{
+ /* VS 2008 specific code */
+ enum { bucket_size = 4, min_buckets = 8 };
+ bool operator()(const string &s1, const string &s2) const;
+ /* End of 2008 specific code */
+
/** Hash an Anope::string for unordered_map
* @param s The string
* @return A hash value for the string