aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_private.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-17 17:59:32 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-17 17:59:32 +0100
commitc0fd920e987be439fb445338566f910c433679fd (patch)
tree8c37942f7eb261ebf9aa240d865f7d0c0e470ddc /tools/libxc/xc_private.h
parenta36c8be096210ffb6e81b8ffdc7cad8ffad747d2 (diff)
downloadxen-c0fd920e987be439fb445338566f910c433679fd.tar.gz
xen-c0fd920e987be439fb445338566f910c433679fd.tar.bz2
xen-c0fd920e987be439fb445338566f910c433679fd.zip
[SOLARIS] Don't build ptrace code on Solaris.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xc_private.h')
-rw-r--r--tools/libxc/xc_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/libxc/xc_private.h b/tools/libxc/xc_private.h
index 513daed6f9..1f92df6225 100644
--- a/tools/libxc/xc_private.h
+++ b/tools/libxc/xc_private.h
@@ -30,6 +30,9 @@
#define DECLARE_SYSCTL struct xen_sysctl sysctl
#endif
+#undef PAGE_SHIFT
+#undef PAGE_SIZE
+#undef PAGE_MASK
#define PAGE_SHIFT XC_PAGE_SHIFT
#define PAGE_SIZE (1UL << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))