From: Richard Jones Date: Wed, 25 Nov 2009 15:00:19 +0000 (+0000) Subject: daemon/Win32: Supply MAX macro for challenged platforms. X-Git-Tag: 1.0.80~39 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=ed08d34eb6aa5c8fa6d9fba52012da9eb793421d;p=libguestfs.git daemon/Win32: Supply MAX macro for challenged platforms. --- 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);