dbghelp: Use the available PowerPC functions.

This commit is contained in:
André Hentschel 2010-05-28 15:48:02 +02:00 committed by Alexandre Julliard
parent d5373c811f
commit 64951f7110
1 changed files with 4 additions and 2 deletions

View File

@ -151,14 +151,16 @@ const char* wine_dbgstr_addr(const ADDRESS64* addr)
}
}
extern struct cpu cpu_i386, cpu_x86_64;
extern struct cpu cpu_i386, cpu_x86_64, cpu_ppc;
static struct cpu* dbghelp_cpus[] = {&cpu_i386, &cpu_x86_64, NULL};
static struct cpu* dbghelp_cpus[] = {&cpu_i386, &cpu_x86_64, &cpu_ppc, NULL};
struct cpu* dbghelp_current_cpu =
#if defined(__i386__)
&cpu_i386
#elif defined(__x86_64__)
&cpu_x86_64
#elif defined(__powerpc__)
&cpu_ppc
#else
#error define support for your CPU
#endif