summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-08 17:10:03 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-08 17:10:03 +0000
commit2f9578055707cea606f6a077c0cbfc388f962cd7 (patch)
tree2eb589a4b2c486f4996987b687adc85e28fefd1c
parentd54fbc71e2a2e0f70002e2d36c669c4aa3d59e17 (diff)
And remember to add this one, just a little header with the #ifdef GCC3 ... stuff that's repeated in about 56543432 places
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3848 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/hash_map.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/hash_map.h b/include/hash_map.h
new file mode 100644
index 000000000..f74dce92a
--- /dev/null
+++ b/include/hash_map.h
@@ -0,0 +1,31 @@
+/* +------------------------------------+
+ * | Inspire Internet Relay Chat Daemon |
+ * +------------------------------------+
+ *
+ * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
+ * E-mail:
+ * <brain@chatspike.net>
+ * <Craig@chatspike.net>
+ * <omster@gmail.com>
+ *
+ * Written by Craig Edwards, Craig McLure, and others.
+ * This program is free but copyrighted software; see
+ * the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
+#ifndef INSPIRCD_HASHMAP_H
+#define INSPIRCD_HASHMAP_H
+
+#include "inspircd_config.h"
+
+#ifdef GCC3
+#include <ext/hash_map>
+#define nspace __gnu_cxx
+#else
+#include <hash_map>
+#define nspace std
+#endif
+
+#endif