summaryrefslogtreecommitdiff
path: root/include/hashcomp.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-05 22:17:47 -0500
committerAdam <Adam@anope.org>2012-11-06 11:02:12 -0500
commit53b2bdfe5e157a9e5ca5d08873edebcd04511ae1 (patch)
treef94c8603ffe475405ea668c629eddd7c8ba0891e /include/hashcomp.h
parent27ab6a686cb271ea8eae7a243906af5bebeb83d7 (diff)
Use std::tr1::unordered_map for a few of the larger maps
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r--include/hashcomp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index f3621a52f..9f9be9793 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -16,6 +16,12 @@
#include <string>
#include <locale>
+#ifndef _WIN32
+#include <tr1/unordered_map>
+#else
+#include <unordered_map>
+#endif
+
#include "services.h"
namespace Anope