mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-13 16:41:50 +08:00
backport EIGEN_HAS_C99_MATH for MSVC
This commit is contained in:
parent
b7249a2a42
commit
fe8cd812b0
@ -380,7 +380,8 @@
|
|||||||
#if EIGEN_MAX_CPP_VER>=11 && \
|
#if EIGEN_MAX_CPP_VER>=11 && \
|
||||||
((defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)) \
|
((defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)) \
|
||||||
|| (defined(__GNUC__) && defined(_GLIBCXX_USE_C99)) \
|
|| (defined(__GNUC__) && defined(_GLIBCXX_USE_C99)) \
|
||||||
|| (defined(_LIBCPP_VERSION) && !defined(_MSC_VER)))
|
|| (defined(_LIBCPP_VERSION) && !defined(_MSC_VER)) \
|
||||||
|
|| (EIGEN_COMP_MSVC >= 1900) )
|
||||||
#define EIGEN_HAS_C99_MATH 1
|
#define EIGEN_HAS_C99_MATH 1
|
||||||
#else
|
#else
|
||||||
#define EIGEN_HAS_C99_MATH 0
|
#define EIGEN_HAS_C99_MATH 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user