mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 13:47:23 +01:00
[svn] * more fixes for hash/unordered map. source mangos.
--HG-- branch : trunk
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
|
||||
#if COMPILER == COMPILER_INTEL
|
||||
#include <ext/hash_map>
|
||||
#elif COMPILER == COMPILER_GNU && __GNUC__ >= 4
|
||||
#elif COMPILER == COMPILER_GNU && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 3)
|
||||
#include <tr1/unordered_map>
|
||||
#elif COMPILER == COMPILER_GNU && __GNUC__ >= 3
|
||||
#include <ext/hash_map>
|
||||
@@ -47,7 +47,7 @@ using stdext::hash_map;
|
||||
#elif COMPILER == COMPILER_INTEL
|
||||
#define UNORDERED_MAP std::hash_map
|
||||
using std::hash_map;
|
||||
#elif COMPILER == COMPILER_GNU && __GNUC__ >= 4
|
||||
#elif COMPILER == COMPILER_GNU && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 3)
|
||||
#define UNORDERED_MAP std::tr1::unordered_map
|
||||
#elif COMPILER == COMPILER_GNU && __GNUC__ >= 3
|
||||
#define UNORDERED_MAP __gnu_cxx::hash_map
|
||||
|
||||
Reference in New Issue
Block a user