fix compatibility handling of XEN_GUEST_HANDLE_00030205
PATCH 1/1 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 <[email protected]>
xen/include/public/xen-compat.h +2 -1
@@ -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__ */