From da2e5c9a9f90736f16472784a68e3c36bc7205ab Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 28 May 2008 16:38:32 +0000 Subject: [PATCH] fix xmlrpc-c build on OS X 10.4 (FSBUILD-47) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8707 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/xmlrpc-c/include/xmlrpc-c/util_int.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/xmlrpc-c/include/xmlrpc-c/util_int.h b/libs/xmlrpc-c/include/xmlrpc-c/util_int.h index 4ac3e14b81..8dbc11cf23 100644 --- a/libs/xmlrpc-c/include/xmlrpc-c/util_int.h +++ b/libs/xmlrpc-c/include/xmlrpc-c/util_int.h @@ -3,8 +3,12 @@ #include "util.h" +#ifndef MIN #define MIN(a,b) ((a) < (b) ? (a) : (b)) +#endif +#ifndef MAX #define MAX(a,b) ((a) > (b) ? (a) : (b)) +#endif /* When we deallocate a pointer in a struct, we often replace it with ** this and throw in a few assertions here and there. */