diff options
-rw-r--r-- | proc/cpu-types.c | 2 | ||||
-rw-r--r-- | proc/host.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/proc/cpu-types.c b/proc/cpu-types.c index 41af0888..ffd54282 100644 --- a/proc/cpu-types.c +++ b/proc/cpu-types.c @@ -41,6 +41,7 @@ const char *const mach_cpu_types[] = #endif }; +#ifndef __x86_64__ const char *const mach_cpu_subtypes[][32] = { [CPU_TYPE_VAX] = @@ -170,3 +171,4 @@ const char *const mach_cpu_subtypes[][32] = [CPU_SUBTYPE_ALPHA_21064] = "ALPHA_21064", }, }; +#endif /* !__x86_64__ */ diff --git a/proc/host.c b/proc/host.c index e0aff20a..0ce1b766 100644 --- a/proc/host.c +++ b/proc/host.c @@ -340,7 +340,9 @@ void initialize_version_info (void) { extern const char *const mach_cpu_types[]; +#ifndef __x86_64__ extern const char *const mach_cpu_subtypes[][32]; +#endif kernel_version_t kv; char *p; struct host_basic_info info; |