X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..c6bf4f310a33a9262d455ea4d3f0630b1255e3fe:/libsyscall/mach/vm_map.defs?ds=sidebyside diff --git a/libsyscall/mach/vm_map.defs b/libsyscall/mach/vm_map.defs index d0562dbed..15a60542c 100644 --- a/libsyscall/mach/vm_map.defs +++ b/libsyscall/mach/vm_map.defs @@ -25,13 +25,16 @@ * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ -#if defined(__LP64__) +#if !LIBSYSCALL_INTERFACE && defined(__LP64__) /* * In an LP64 environment, the traditional Mach VM interface names are * really just a second instance of the "wide" Mach VM interfaces. * * The _MACH_VM_PUBLISH_AS_LOCAL_ flag triggers mach_vm.defs to export * the local names instead. + * + * LIBSYSCALL_INTERFACE indicates that we are building the + * machine-independent headers for Libsyscall */ #define _MACH_VM_PUBLISH_AS_LOCAL_ #include