X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fhash_map.h;h=93341b5e00fcea4e3cc498b41345427c7e108ad1;hb=01c23b31f7d0ea87052cd22814af826ecb11f0f3;hp=6e47d292b8199930734d9a0ed66d5b072da6b0c8;hpb=01ce98f2746be837a64f5f9ed2c36eeaabae7462;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/hash_map.h b/include/hash_map.h index 6e47d292b..93341b5e0 100644 --- a/include/hash_map.h +++ b/include/hash_map.h @@ -11,8 +11,10 @@ * --------------------------------------------------- */ - #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 + #define nspace stdext using stdext::hash_map; #define BEGIN_HASHMAP_NAMESPACE namespace nspace { #define END_HASHMAP_NAMESPACE }