]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/hash_map.h
m_dnsbl updates
[user/henk/code/inspircd.git] / include / hash_map.h
index 6e47d292b8199930734d9a0ed66d5b072da6b0c8..1c6acf5e8df9f453f4a070cdbe43d515b586267f 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  * ---------------------------------------------------
  */
 
-       #ifndef INSPIRCD_HASHMAP_H
-       #define INSPIRCD_HASHMAP_H
+#ifndef INSPIRCD_HASHMAP_H
+#define INSPIRCD_HASHMAP_H
+
+#include "inspircd_config.h"
 
        /** Where hash_map is varies from compiler to compiler
         * as it is not standard unless we have tr1.
@@ -36,8 +38,9 @@
                        #define HAS_TR1_UNORDERED
                        #define HASHMAP_DEPRECATED
                #else
-                       #define nspace stdext
                        /** Oddball windows namespace for hash_map */
+                       #include <hash_map>
+                       #define nspace stdext
                        using stdext::hash_map;
                        #define BEGIN_HASHMAP_NAMESPACE namespace nspace {
                        #define END_HASHMAP_NAMESPACE }