|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [TOOLS] xenctrl.h defines __XEN_TOOLS__ i
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID fd6c2b5e041f8477b11ee89d6d2df87639bf2794
# Parent 6f41473da163afa567a6979939b089fa1210447b
[TOOLS] xenctrl.h defines __XEN_TOOLS__ if it's not already.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
tools/debugger/gdb/gdbbuild | 4 ++--
tools/libxc/xenctrl.h | 5 +++++
2 files changed, 7 insertions(+), 2 deletions(-)
diff -r 6f41473da163 -r fd6c2b5e041f tools/debugger/gdb/gdbbuild
--- a/tools/debugger/gdb/gdbbuild Thu Aug 31 18:23:28 2006 +0100
+++ b/tools/debugger/gdb/gdbbuild Thu Aug 31 18:54:50 2006 +0100
@@ -18,7 +18,7 @@ if [ "$MAKE" ]; then
if [ "$MAKE" ]; then
$MAKE
elif which gmake ; then
- gmake -j4 CFLAGS=-D__XEN_TOOLS__
+ gmake -j4
else
- make -j4 CFLAGS=-D__XEN_TOOLS__
+ make -j4
fi
diff -r 6f41473da163 -r fd6c2b5e041f tools/libxc/xenctrl.h
--- a/tools/libxc/xenctrl.h Thu Aug 31 18:23:28 2006 +0100
+++ b/tools/libxc/xenctrl.h Thu Aug 31 18:54:50 2006 +0100
@@ -8,6 +8,11 @@
#ifndef XENCTRL_H
#define XENCTRL_H
+
+/* Tell the Xen public headers we are a user-space tools build. */
+#ifndef __XEN_TOOLS__
+#define __XEN_TOOLS__ 1
+#endif
#include <stddef.h>
#include <stdint.h>
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [TOOLS] xenctrl.h defines __XEN_TOOLS__ if it's not already.,
Xen patchbot-unstable <=
|
|
|
|
|