X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fhash_map.h;h=313b216a78520eba03581fe002290c185519fa01;hb=7bcd19c828f56449020c5a1c8a3b3e9b1486d4f8;hp=6e47d292b8199930734d9a0ed66d5b072da6b0c8;hpb=01ce98f2746be837a64f5f9ed2c36eeaabae7462;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/hash_map.h b/include/hash_map.h index 6e47d292b..313b216a7 100644 --- a/include/hash_map.h +++ b/include/hash_map.h @@ -1,18 +1,29 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ +/* + * InspIRCd -- Internet Relay Chat Daemon * - * InspIRCd: (C) 2002-2009 InspIRCd Development Team - * See: http://wiki.inspircd.org/Credits + * Copyright (C) 2009 Robin Burchell + * Copyright (C) 2008 Craig Edwards + * Copyright (C) 2007 Dennis Friis + * Copyright (C) 2006 Oliver Lupton * - * This program is free but copyrighted software; see - * the file COPYING for details. + * This file is part of InspIRCd. InspIRCd is free software: you can + * redistribute it and/or modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation, version 2. * - * --------------------------------------------------- + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ - #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 +47,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 }