diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-05-22 19:29:51 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-05-22 19:29:51 +0200 |
commit | f0862b062fcb613ee6c60745631d90a43d54a6d4 (patch) | |
tree | 51941d6728612b101d194bf1cab1963e2250cf56 /Eigen/src/Core/util/Meta.h | |
parent | 36e413a534e105ec3864b1a163e0ec3234f866a1 (diff) |
Fix internal::is_integral<size_t/ptrdiff_t> with MSVC 2013 and older.
Diffstat (limited to 'Eigen/src/Core/util/Meta.h')
-rwxr-xr-x | Eigen/src/Core/util/Meta.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h index 0c7b8e709..6e5af35c0 100755 --- a/Eigen/src/Core/util/Meta.h +++ b/Eigen/src/Core/util/Meta.h @@ -113,6 +113,10 @@ template<> struct is_integral<signed int> { enum { value = true }; } template<> struct is_integral<unsigned int> { enum { value = true }; }; template<> struct is_integral<signed long> { enum { value = true }; }; template<> struct is_integral<unsigned long> { enum { value = true }; }; +#if EIGEN_COMP_MSVC +template<> struct is_integral<signed __int64> { enum { value = true }; }; +template<> struct is_integral<unsigned __int64> { enum { value = true }; }; +#endif #endif |