mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-06 02:34:05 +08:00
Define EIGEN_COMP_GNUC to reflect version number: 47, 48, 49, 50, 60, ...
This commit is contained in:
parent
645a8e32a5
commit
0eceea4efd
@ -23,7 +23,7 @@
|
||||
|
||||
/// \internal EIGEN_COMP_GNUC set to 1 for all compilers compatible with GCC
|
||||
#ifdef __GNUC__
|
||||
#define EIGEN_COMP_GNUC 1
|
||||
#define EIGEN_COMP_GNUC (__GNUC__*10+__GNUC_MINOR__)
|
||||
#else
|
||||
#define EIGEN_COMP_GNUC 0
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user