Evaluate XEN_GUEST_HANDLE_64 twice.

This fixes a build error for PV guests (OpenBSD, NetBSD) where the use
of XEN_GUEST_HANDLE_64(uint8_t) leads to a build error because uint8_t
is a #define and not a typedef.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-09-18 15:09:57 +01:00
1 parent 5d942ff119
commit d308f9ebc6
1 file changed
+2 -1
+2 -1
View File
@@ -119,7 +119,8 @@
(hnd).p = val; \
} while ( 0 )
#define uint64_aligned_t uint64_t __attribute__((aligned(8)))
#define XEN_GUEST_HANDLE_64(name) __guest_handle_64_ ## name
#define __XEN_GUEST_HANDLE_64(name) __guest_handle_64_ ## name
#define XEN_GUEST_HANDLE_64(name) __XEN_GUEST_HANDLE_64(name)
#endif
#ifndef __ASSEMBLY__
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.