]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - include/hash_map.h
Comments (lots of)
[user/henk/code/inspircd.git] / include / hash_map.h
1 /*       +------------------------------------+
2  *       | Inspire Internet Relay Chat Daemon |
3  *       +------------------------------------+
4  *
5  *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
6  * See: http://www.inspircd.org/wiki/index.php/Credits
7  *
8  * This program is free but copyrighted software; see
9  *            the file COPYING for details.
10  *
11  * ---------------------------------------------------
12  */
13  
14 #ifndef INSPIRCD_HASHMAP_H
15 #define INSPIRCD_HASHMAP_H
16
17 #include "inspircd_config.h"
18
19 /** Where hash_map is varies from compiler to compiler
20  * as it is not standard.
21  */
22 #ifndef WIN32
23 #include <ext/hash_map>
24 /** Oddball linux namespace for hash_map */
25 #define nspace __gnu_cxx
26 #else
27 #include <hash_map>
28 #define nspace stdext
29 /** Oddball windows namespace for hash_map */
30 using stdext::hash_map;
31 #endif
32
33 #endif