Skip to content
Snippets Groups Projects
Commit 3de9ae4e authored by gregorycu's avatar gregorycu Committed by Loïc Blot
Browse files

Ensure std::unordered_ will be used on supported MSVC compilers

parent ad163ee5
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define MT_CPP11CONTAINER_HEADER
#if __cplusplus >= 201103L
#define USE_UNORDERED_CONTAINERS
#endif
#if _MSC_VER >= 1800
#define USE_UNORDERED_CONTAINERS
#endif
#ifdef USE_UNORDERED_CONTAINERS
#include <unordered_map>
#include <unordered_set>
#define UNORDERED_MAP std::unordered_map
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment