WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [TOOLS] xenctrl.h defines __XEN_TOOLS__ i

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [TOOLS] xenctrl.h defines __XEN_TOOLS__ if it's not already.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 31 Aug 2006 19:50:11 +0000
Delivery-date: Thu, 31 Aug 2006 12:50:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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 <=