mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-10 23:21:47 +08:00
backport 963281, fix msvc detection on win64
This commit is contained in:
parent
a29a390afa
commit
487edbf325
@ -7,11 +7,10 @@
|
|||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#include <malloc.h> // for _aligned_malloc -- need it regardless of whether vectorization is enabled
|
#include <malloc.h> // for _aligned_malloc -- need it regardless of whether vectorization is enabled
|
||||||
#if (_MSC_VER >= 1500) // 2008 or later
|
#if (_MSC_VER >= 1500) // 2008 or later
|
||||||
// Remember that usage of defined() in a #define is undefined by the standard
|
// Remember that usage of defined() in a #define is undefined by the standard.
|
||||||
#ifdef _M_IX86_FP
|
// a user reported that in 64-bit mode, MSVC doesn't care to define _M_IX86_FP.
|
||||||
#if _M_IX86_FP >= 2
|
#if (defined(_M_IX86_FP) && (_M_IX86_FP >= 2)) || defined(_M_X64)
|
||||||
#define EIGEN_SSE2_ON_MSVC_2008_OR_LATER
|
#define EIGEN_SSE2_ON_MSVC_2008_OR_LATER
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user