diff --git a/Eigen/Core b/Eigen/Core index ce27d10b0..f124aff09 100644 --- a/Eigen/Core +++ b/Eigen/Core @@ -169,6 +169,9 @@ // defined in bits/termios.h #undef B0 +// defined in some GNU standard header +#undef minor + namespace Eigen { inline static const char *SimdInstructionSetsInUse(void) { diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 77da6884f..94c15f0a7 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -26,8 +26,6 @@ #ifndef EIGEN_MACROS_H #define EIGEN_MACROS_H -#undef minor - #define EIGEN_WORLD_VERSION 2 #define EIGEN_MAJOR_VERSION 91 #define EIGEN_MINOR_VERSION 0