diff options
Diffstat (limited to 'Eigen/src/Core')
-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 c892e499c..68452ecfa 100755 --- a/Eigen/src/Core/util/Meta.h +++ b/Eigen/src/Core/util/Meta.h @@ -160,6 +160,10 @@ template<> struct make_unsigned<unsigned long> { typedef unsigned long type; template<> struct make_unsigned<signed __int64> { typedef unsigned __int64 type; }; template<> struct make_unsigned<unsigned __int64> { typedef unsigned __int64 type; }; #endif + +// TODO: Some platforms define int64_t as long long even for C++03. In this case +// we are missing the definition for make_unsigned. If we just define it, we get +// duplicated definitions for platforms defining int64_t as signed long for C++03 #endif template <typename T> struct add_const { typedef const T type; }; |