From ea0e9ca5fdc52cac3dc2f08a81495b9edac40564 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Wed, 11 May 2005 05:49:41 +0000 Subject: [PATCH] add __max define --- ipmitool/include/ipmitool/helper.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ipmitool/include/ipmitool/helper.h b/ipmitool/include/ipmitool/helper.h index c0265a5..3e826a7 100644 --- a/ipmitool/include/ipmitool/helper.h +++ b/ipmitool/include/ipmitool/helper.h @@ -63,4 +63,8 @@ void ipmi_start_daemon(void); # define __min(a, b) ((a) < (b) ? (a) : (b)) #endif +#ifndef __max +# define __max(a, b) ((a) > (b) ? (a) : (b)) +#endif + #endif /* IPMI_HELPER_H */