Jan Beulich
2008-Jan-21 14:39 UTC
[Xen-devel] [PATCH] fix compatibility handling of XEN_GUEST_HANDLE_00030205
Using the plain type doesn''t work anymore with recent changes to XEN_GUEST_HANDLE(). Signed-off-by: Jan Beulich <jbeulich@novell.com> Index: ./xen/include/public/xen-compat.h ==================================================================--- a/xen/include/public/xen-compat.h 2007-11-02 17:34:24.000000000 +0100 +++ b/xen/include/public/xen-compat.h 2008-01-21 14:47:16.000000000 +0100 @@ -45,7 +45,8 @@ #if __XEN_INTERFACE_VERSION__ >= 0x00030205 #define XEN_GUEST_HANDLE_00030205(type) XEN_GUEST_HANDLE(type) #else -#define XEN_GUEST_HANDLE_00030205(type) type * +typedef void void_t; +#define XEN_GUEST_HANDLE_00030205(type) type##_t * #endif #endif /* __XEN_PUBLIC_XEN_COMPAT_H__ */ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel