|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] tools compile fix for Solaris
# HG changeset patch
# User john.levon@xxxxxxx
# Date 1161090676 25200
# Node ID 7a86cb5bb6b6e9164bec378b5fb0a270625a2452
# Parent c6bfe43048f3becda6966deceb7b70baea833b7c
Solaris pollutes the global namespace with an ERR define: undef it before
trying to use libxc's ERR().
Signed-off-by: John Levon <john.levon@xxxxxxx>
diff --git a/tools/libxc/xc_private.h b/tools/libxc/xc_private.h
--- a/tools/libxc/xc_private.h
+++ b/tools/libxc/xc_private.h
@@ -56,6 +56,7 @@
#define PPRINTF(_f, _a...)
#endif
+#undef ERR
#define ERR(_f, _a...) do { \
DPRINTF(_f ": %d\n" , ## _a, errno); \
fflush(stderr); } \
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] tools compile fix for Solaris,
John Levon <=
|
|
|
|
|