]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/hash_map.h
Remove Extensible items from user, channel, and Membership on module unload
[user/henk/code/inspircd.git] / include / hash_map.h
index 6e47d292b8199930734d9a0ed66d5b072da6b0c8..93341b5e00fcea4e3cc498b41345427c7e108ad1 100644 (file)
  * ---------------------------------------------------
  */
 
-       #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 }