From 68745b98f5d556a9c155e0514c099cdcc79c0a5b Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 28 Dec 2005 21:21:54 +0000 Subject: Changed from std::map to hash_map git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2686 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/ctables.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/ctables.h b/include/ctables.h index e5cdddefb..14b12610f 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -18,7 +18,18 @@ #define __CTABLES_H__ #include "inspircd_config.h" -#include + +#ifdef GCC3 +#include +#else +#include +#endif + +#ifdef GCC3 +#define nspace __gnu_cxx +#else +#define nspace std +#endif class userrec; @@ -59,7 +70,7 @@ class command_t virtual ~command_t() {} }; -typedef std::map command_table; +typedef nspace::hash_map command_table; #endif -- cgit v1.2.3