X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fhash_map.h;h=1c6acf5e8df9f453f4a070cdbe43d515b586267f;hb=4498f1abd163b140efcbbd9e75173665c9b1c29f;hp=6e47d292b8199930734d9a0ed66d5b072da6b0c8;hpb=01ce98f2746be837a64f5f9ed2c36eeaabae7462;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/hash_map.h b/include/hash_map.h index 6e47d292b..1c6acf5e8 100644 --- a/include/hash_map.h +++ b/include/hash_map.h @@ -2,7 +2,7 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2009 InspIRCd Development Team + * InspIRCd: (C) 2002-2010 InspIRCd Development Team * See: http://wiki.inspircd.org/Credits * * This program is free but copyrighted software; see @@ -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 }