summaryrefslogtreecommitdiff
path: root/include/hash_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hash_map.h')
-rw-r--r--include/hash_map.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/hash_map.h b/include/hash_map.h
index ad38d426a..784a8bc3b 100644
--- a/include/hash_map.h
+++ b/include/hash_map.h
@@ -16,12 +16,17 @@
#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