aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/Meta.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-05-27 10:28:09 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-05-27 10:28:09 +0200
commite0cb73b46bba4715526c24c5c6ff2d0d6f6ffc35 (patch)
treed502b996afbd520660573cd4944666f241e9771b /Eigen/src/Core/util/Meta.h
parent1ae2567861e71ca132b7c46ace8f30b3e7e9b0c6 (diff)
Fix compilation with old ICC version (use C99 types instead of C++11 ones)
Diffstat (limited to 'Eigen/src/Core/util/Meta.h')
-rw-r--r--Eigen/src/Core/util/Meta.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h
index 604f509b9..01a9647a3 100644
--- a/Eigen/src/Core/util/Meta.h
+++ b/Eigen/src/Core/util/Meta.h
@@ -28,8 +28,8 @@ namespace internal {
*/
#if EIGEN_COMP_ICC
-typedef std::intptr_t IntPtr;
-typedef std::uintptr_t UIntPtr;
+typedef intptr_t IntPtr;
+typedef uintptr_t UIntPtr;
#else
typedef std::ptrdiff_t IntPtr;
typedef std::size_t UIntPtr;