From 2ad531867c95993c88c37ad38c0ee27557868f60 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 11 Jan 2007 12:55:09 +0000 Subject: [PATCH] Fix win32 compilation by removing macro 'max' if already defined (defined later in ). --- src/filter_load_balance.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/filter_load_balance.cpp b/src/filter_load_balance.cpp index 57e1123..7e9b425 100644 --- a/src/filter_load_balance.cpp +++ b/src/filter_load_balance.cpp @@ -1,4 +1,4 @@ -/* $Id: filter_load_balance.cpp,v 1.5 2007-01-04 13:22:56 marc Exp $ +/* $Id: filter_load_balance.cpp,v 1.6 2007-01-11 12:55:09 adam Exp $ Copyright (c) 2005-2006, Index Data. See the LICENSE file for details @@ -11,11 +11,17 @@ #include "filter_load_balance.hpp" #include "util.hpp" + #include #include #include +// remove max macro if already defined (defined later in ) +#ifdef max +#undef max +#endif + //#include #include #include -- 1.7.10.4