From 42e2578ef9fcbb62ad6e07933ccf531f6f7cd1b3 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 19 Aug 2011 14:18:05 +0200 Subject: the min/max macros to detect unprotected min/max were undefined by some std header, so let's declare them after and do the respective fixes ;) --- test/main.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'test/main.h') diff --git a/test/main.h b/test/main.h index 99049223c..2068713b3 100644 --- a/test/main.h +++ b/test/main.h @@ -23,9 +23,6 @@ // License and a copy of the GNU General Public License along with // Eigen. If not, see . -#define min(A,B) please_protect_your_min_with_parentheses -#define max(A,B) please_protect_your_max_with_parentheses - #include #include #include @@ -33,6 +30,15 @@ #include #include #include +#include +#include +#include +#include +#include +#include + +#define min(A,B) please_protect_your_min_with_parentheses +#define max(A,B) please_protect_your_max_with_parentheses // the following file is automatically generated by cmake #include "split_test_helper.h" -- cgit v1.2.3