Fix C++17 compilation

This commit is contained in:
Gael Guennebaud 2019-02-19 21:59:41 +01:00
parent 071629a440
commit 292d61970a

View File

@ -14,7 +14,12 @@
#include "main.h"
#if EIGEN_GNUC_AT_LEAST(4,0) && !defined __ICC && !defined(__clang__)
#if EIGEN_HAS_CXX11
#include <unordered_map>
#define EIGEN_UNORDERED_MAP_SUPPORT
#elif EIGEN_GNUC_AT_LEAST(4,0) && !defined __ICC && !defined(__clang__)
#ifdef min
#undef min