[TOOLS] xenctrl.h defines __XEN_TOOLS__ if it's not already.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-08-31 18:54:50 +01:00
1 parent 5bfcf44bb8
commit 39cda1cf3f
2 files changed
+7 -2

No files matched your search

+2 -2
View File
@@ -18,7 +18,7 @@ cd gdb-6.2.1-linux-i386-xen
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
+5
View File
@@ -9,6 +9,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>
#include <sys/ptrace.h>
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.