From ed08d34eb6aa5c8fa6d9fba52012da9eb793421d Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 25 Nov 2009 15:00:19 +0000 Subject: [PATCH] daemon/Win32: Supply MAX macro for challenged platforms. --- daemon/guestfsd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index d3b754d..9691053 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -60,6 +60,10 @@ static char *read_cmdline (void); #define AI_ADDRCONFIG 0 #endif +#ifndef MAX +#define MAX(a,b) ((a)>(b)?(a):(b)) +#endif + int verbose = 0; static int print_shell_quote (FILE *stream, const struct printf_info *info, const void *const *args); -- 1.8.3.1