git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d0d8cd
)
daemon/Win32: Supply MAX macro for challenged platforms.
author
Richard Jones
<rjones@redhat.com>
Wed, 25 Nov 2009 15:00:19 +0000
(15:00 +0000)
committer
Richard Jones
<rjones@redhat.com>
Wed, 25 Nov 2009 16:28:26 +0000
(16:28 +0000)
daemon/guestfsd.c
patch
|
blob
|
history
diff --git
a/daemon/guestfsd.c
b/daemon/guestfsd.c
index
d3b754d
..
9691053
100644
(file)
--- 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);