X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fhash_map.h;h=784a8bc3b2a21b7925d7786cffebdf035297a473;hb=b94c45340e153254f9dd06ecc3445222f31d0220;hp=01646d71ad1404b733f7456ffb6563252e1a46c0;hpb=696ee9ff66bb94be2229bfa9c3dc288affc38a72;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/hash_map.h b/include/hash_map.h index 01646d71a..784a8bc3b 100644 --- a/include/hash_map.h +++ b/include/hash_map.h @@ -16,7 +16,18 @@ #include "inspircd_config.h" +/** Where hash_map is varies from compiler to compiler + * as it is not standard. + */ +#ifndef WIN32 #include +/** Oddball linux namespace for hash_map */ #define nspace __gnu_cxx +#else +#include +#define nspace stdext +/** Oddball windows namespace for hash_map */ +using stdext::hash_map; +#endif #endif