Use unordered set and map for VS2013, ref #236

--HG--
branch : develop
This commit is contained in:
kaetemi 2015-03-29 16:58:07 +02:00
parent 769d5190c5
commit 5bb34b12f4

View file

@ -417,12 +417,12 @@ extern void operator delete[](void *p) throw();
# define CHashMap stdext::hash_map # define CHashMap stdext::hash_map
# define CHashSet stdext::hash_set # define CHashSet stdext::hash_set
# define CHashMultiMap stdext::hash_multimap # define CHashMultiMap stdext::hash_multimap
#elif defined(NL_COMP_VC) && (NL_COMP_VC_VERSION >= 120) #elif defined(NL_COMP_VC) && (NL_COMP_VC_VERSION >= 100)
# include <hash_map> # include <unordered_map>
# include <hash_set> # include <unordered_set>
# define CHashMap ::std::hash_map # define CHashMap ::std::unordered_map
# define CHashSet ::std::hash_set # define CHashSet ::std::unordered_set
# define CHashMultiMap ::std::hash_multimap # define CHashMultiMap ::std::unordered_multimap
#elif defined(NL_COMP_GCC) // GCC4 #elif defined(NL_COMP_GCC) // GCC4
# include <ext/hash_map> # include <ext/hash_map>
# include <ext/hash_set> # include <ext/hash_set>