mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
Fix compilation with gcc and remove TR1 stuff.
This commit is contained in:
parent
844e5447f8
commit
4e8047cdcf
@ -16,11 +16,6 @@
|
|||||||
|
|
||||||
#if EIGEN_HAS_CXX11
|
#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
|
#ifdef min
|
||||||
#undef min
|
#undef min
|
||||||
#endif
|
#endif
|
||||||
@ -29,11 +24,9 @@
|
|||||||
#undef max
|
#undef max
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <tr1/unordered_map>
|
#include <unordered_map>
|
||||||
#define EIGEN_UNORDERED_MAP_SUPPORT
|
#define EIGEN_UNORDERED_MAP_SUPPORT
|
||||||
namespace std {
|
|
||||||
using std::tr1::unordered_map;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef EIGEN_GOOGLEHASH_SUPPORT
|
#ifdef EIGEN_GOOGLEHASH_SUPPORT
|
||||||
|
Loading…
Reference in New Issue
Block a user