diff options
author | 2016-10-08 22:56:32 -0700 | |
---|---|---|
committer | 2016-10-08 22:56:32 -0700 | |
commit | 7f0599b6eb45c8a1a1aae9db32408d64eb7f5d45 (patch) | |
tree | 4b438aaab23567f208fc1bb2a096e79f3bbc2723 | |
parent | 5727e4d89c0fbf44192e116038b2beea2af19768 (diff) |
Manually define int16_t and uint16_t when compiling with Visual Studio
-rw-r--r-- | unsupported/Eigen/CXX11/Tensor | 2 |
1 files changed, 2 insertions, 0 deletions
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 <cstring> #ifdef _WIN32 +typedef __int16 int16_t; +typedef unsigned __int16 uint16_t; typedef __int32 int32_t; typedef unsigned __int32 uint32_t; typedef __int64 int64_t; |