diff options
author | Richard Jones <rjones@redhat.com> | 2009-11-25 15:00:19 +0000 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-11-25 16:28:26 +0000 |
commit | ed08d34eb6aa5c8fa6d9fba52012da9eb793421d (patch) | |
tree | 7074bece72106667aeeceb0c9d865341ef502e57 /daemon | |
parent | 8d0d8cd4a340dea6fd3d84ab5b361aa757d5e19e (diff) | |
download | libguestfs-ed08d34eb6aa5c8fa6d9fba52012da9eb793421d.tar.gz libguestfs-ed08d34eb6aa5c8fa6d9fba52012da9eb793421d.tar.xz libguestfs-ed08d34eb6aa5c8fa6d9fba52012da9eb793421d.zip |
daemon/Win32: Supply MAX macro for challenged platforms.
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/guestfsd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index d3b754d2..9691053f 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); |