1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd: (C) 2002-2008 InspIRCd Development Team
6 * See: http://www.inspircd.org/wiki/index.php/Credits
8 * This program is free but copyrighted software; see
9 * the file COPYING for details.
11 * ---------------------------------------------------
14 #ifndef INSPIRCD_HASHMAP_H
15 #define INSPIRCD_HASHMAP_H
17 /** Where hash_map is varies from compiler to compiler
18 * as it is not standard.
21 #ifndef HASHMAP_DEPRECATED
22 #include <ext/hash_map>
23 /** Oddball linux namespace for hash_map */
24 #define nspace __gnu_cxx
26 #include <tr1/unordered_map>
27 #define hash_map unordered_map
28 #define nspace std::tr1
33 /** Oddball windows namespace for hash_map */
34 using stdext::hash_map;