From c4f8afdf496779e2ca8862614a48a1c3518a223e Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sat, 6 Mar 2010 14:44:57 -0500 Subject: [PATCH] #undef minor at the right place --- Eigen/Core | 3 +++ Eigen/src/Core/util/Macros.h | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) 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