mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-16 18:11:47 +08:00
fixed compiling issue using clang-cl with visual studio
This commit is contained in:
parent
f61b0d56f0
commit
9c97b053f3
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user