mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-26 16:56:19 +00:00
Use unordered set and map for VS2013, ref #236
This commit is contained in:
parent
84f9d64872
commit
25a399ae9e
1 changed files with 6 additions and 6 deletions
|
@ -417,12 +417,12 @@ extern void operator delete[](void *p) throw();
|
|||
# define CHashMap stdext::hash_map
|
||||
# define CHashSet stdext::hash_set
|
||||
# define CHashMultiMap stdext::hash_multimap
|
||||
#elif defined(NL_COMP_VC) && (NL_COMP_VC_VERSION >= 120)
|
||||
# include <hash_map>
|
||||
# include <hash_set>
|
||||
# define CHashMap ::std::hash_map
|
||||
# define CHashSet ::std::hash_set
|
||||
# define CHashMultiMap ::std::hash_multimap
|
||||
#elif defined(NL_COMP_VC) && (NL_COMP_VC_VERSION >= 100)
|
||||
# include <unordered_map>
|
||||
# include <unordered_set>
|
||||
# define CHashMap ::std::unordered_map
|
||||
# define CHashSet ::std::unordered_set
|
||||
# define CHashMultiMap ::std::unordered_multimap
|
||||
#elif defined(NL_COMP_GCC) // GCC4
|
||||
# include <ext/hash_map>
|
||||
# include <ext/hash_set>
|
||||
|
|
Loading…
Reference in a new issue