]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/hash_map.h
Roadmap item "Fix jointhrottle to not try 'throttle' clients during a netmerge (requi...
[user/henk/code/inspircd.git] / include / hash_map.h
index 01646d71ad1404b733f7456ffb6563252e1a46c0..784a8bc3b2a21b7925d7786cffebdf035297a473 100644 (file)
 
 #include "inspircd_config.h"
 
+/** Where hash_map is varies from compiler to compiler
+ * as it is not standard.
+ */
+#ifndef WIN32
 #include <ext/hash_map>
+/** Oddball linux namespace for hash_map */
 #define nspace __gnu_cxx
+#else
+#include <hash_map>
+#define nspace stdext
+/** Oddball windows namespace for hash_map */
+using stdext::hash_map;
+#endif
 
 #endif