From: Adam Dickmeiss Date: Thu, 11 Jan 2007 12:55:09 +0000 (+0000) Subject: Fix win32 compilation by removing macro 'max' if already defined X-Git-Tag: METAPROXY.1.0.8~34 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=2ad531867c95993c88c37ad38c0ee27557868f60;p=metaproxy-moved-to-github.git Fix win32 compilation by removing macro 'max' if already defined (defined later in ). --- 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