fixed compiling issue using clang-cl with visual studio

This commit is contained in:
Alexander Neumann 2017-02-08 23:50:09 +01:00
parent f61b0d56f0
commit 9c97b053f3

View File

@ -80,8 +80,8 @@
// 2015 14 1900 // 2015 14 1900
// "15" 15 1900 // "15" 15 1900
/// \internal EIGEN_COMP_MSVC_STRICT set to 1 if the compiler is really Microsoft Visual C++ and not ,e.g., ICC /// \internal EIGEN_COMP_MSVC_STRICT set to 1 if the compiler is really Microsoft Visual C++ and not ,e.g., ICC or clang-cl
#if EIGEN_COMP_MSVC && !(EIGEN_COMP_ICC) #if EIGEN_COMP_MSVC && !(EIGEN_COMP_ICC) && !(EIGEN_COMP_LLVM)
#define EIGEN_COMP_MSVC_STRICT _MSC_VER #define EIGEN_COMP_MSVC_STRICT _MSC_VER
#else #else
#define EIGEN_COMP_MSVC_STRICT 0 #define EIGEN_COMP_MSVC_STRICT 0