Fix compilation with old ICC version (use C99 types instead of C++11 ones)

This commit is contained in:
Gael Guennebaud 2016-05-27 10:28:09 +02:00
parent 1ae2567861
commit e0cb73b46b

View File

@ -28,8 +28,8 @@ namespace internal {
*/ */
#if EIGEN_COMP_ICC #if EIGEN_COMP_ICC
typedef std::intptr_t IntPtr; typedef intptr_t IntPtr;
typedef std::uintptr_t UIntPtr; typedef uintptr_t UIntPtr;
#else #else
typedef std::ptrdiff_t IntPtr; typedef std::ptrdiff_t IntPtr;
typedef std::size_t UIntPtr; typedef std::size_t UIntPtr;