]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/hash_map.h
Add stuff so that modules can hook users by altering a pointer in the User class...
[user/henk/code/inspircd.git] / include / hash_map.h
index 36e0b2b028b7db2fd826ad917372d5aaab743a3b..b922f61733893612ec8880cea8dfac1761ebbf67 100644 (file)
@@ -1 +1,31 @@
-/*       +------------------------------------+\r *       | Inspire Internet Relay Chat Daemon |\r *       +------------------------------------+\r *\r *  InspIRCd: (C) 2002-2007 InspIRCd Development Team\r * See: http://www.inspircd.org/wiki/index.php/Credits\r *\r * This program is free but copyrighted software; see\r *            the file COPYING for details.\r *\r * ---------------------------------------------------\r */\r \r#ifndef INSPIRCD_HASHMAP_H\r#define INSPIRCD_HASHMAP_H\r\r#include "inspircd_config.h"\r\r/** Where hash_map is varies from compiler to compiler\r * as it is not standard.\r */\r#ifndef WIN32\r#include <ext/hash_map>\r/** Oddball linux namespace for hash_map */\r#define nspace __gnu_cxx\r#else\r#include <hash_map>\r#define nspace stdext\r/** Oddball windows namespace for hash_map */\rusing stdext::hash_map;\r#endif\r\r#endif\r
\ No newline at end of file
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
+ *
+ * This program is free but copyrighted software; see
+ *            the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+#ifndef INSPIRCD_HASHMAP_H
+#define INSPIRCD_HASHMAP_H
+
+/** Where hash_map is varies from compiler to compiler
+ * as it is not standard.
+ */
+#ifndef WIN32
+#include <ext/hash_map>
+/** Oddball linux namespace for hash_map */
+#define nspace __gnu_cxx
+#else
+#include <hash_map>
+#define nspace stdext
+/** Oddball windows namespace for hash_map */
+using stdext::hash_map;
+#endif
+
+#endif