mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[6808] Fixed VC9 build when TR1 is not present and added revision number output to the exception report
This commit is contained in:
parent
82ad991969
commit
ca31e21740
3 changed files with 5 additions and 4 deletions
|
|
@ -28,7 +28,7 @@
|
|||
#include <tr1/unordered_map>
|
||||
#elif COMPILER == COMPILER_GNU && __GNUC__ >= 3
|
||||
#include <ext/hash_map>
|
||||
#elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1500 // VC9.0 and later
|
||||
#elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1500 && _HAS_TR1 // VC9.0 SP1 and later
|
||||
#include <unordered_map>
|
||||
#else
|
||||
#include <hash_map>
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
#ifdef _STLPORT_VERSION
|
||||
#define UNORDERED_MAP std::hash_map
|
||||
using std::hash_map;
|
||||
#elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1500
|
||||
#elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1500 && _HAS_TR1
|
||||
#define UNORDERED_MAP std::tr1::unordered_map
|
||||
#elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1300
|
||||
#define UNORDERED_MAP stdext::hash_map
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue