From b3242541b29777d065ed8ae39b6bc6251a4b9707 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 21 Feb 2014 16:36:30 -0500 Subject: [PATCH] avoid redefined --- 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 db5c5e9114..5596eed244 100644 --- a/libs/xmlrpc-c/include/xmlrpc-c/util_int.h +++ b/libs/xmlrpc-c/include/xmlrpc-c/util_int.h @@ -12,8 +12,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. */