From 7f0599b6eb45c8a1a1aae9db32408d64eb7f5d45 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Sat, 8 Oct 2016 22:56:32 -0700 Subject: [PATCH] Manually define int16_t and uint16_t when compiling with Visual Studio --- unsupported/Eigen/CXX11/Tensor | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unsupported/Eigen/CXX11/Tensor b/unsupported/Eigen/CXX11/Tensor index 4976a1254..73aae3da8 100644 --- a/unsupported/Eigen/CXX11/Tensor +++ b/unsupported/Eigen/CXX11/Tensor @@ -34,6 +34,8 @@ #include #ifdef _WIN32 +typedef __int16 int16_t; +typedef unsigned __int16 uint16_t; typedef __int32 int32_t; typedef unsigned __int32 uint32_t; typedef __int64 int64_t;