diff options
-rw-r--r-- | include/mach/mach_host.defs | 2 | ||||
-rw-r--r-- | kern/host.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mach/mach_host.defs b/include/mach/mach_host.defs index 07383a57..a8c40af6 100644 --- a/include/mach/mach_host.defs +++ b/include/mach/mach_host.defs @@ -161,7 +161,7 @@ routine task_get_assignment( task : task_t; out assigned_set : processor_set_name_t); -#ifdef __x86_64__ +#if defined(__x86_64__) && !defined(USER32) skip; #else /* diff --git a/kern/host.c b/kern/host.c index 2db09154..69394374 100644 --- a/kern/host.c +++ b/kern/host.c @@ -219,7 +219,7 @@ kern_return_t host_get_kernel_version( return KERN_SUCCESS; } -#ifndef __x86_64__ +#if !defined(__x86_64__) || defined(USER32) /* Same as above, but does not exist for x86_64. */ kern_return_t host_kernel_version( const host_t host, |