André Hentschel : dbghelp: Use the available PowerPC functions.
Module: wine Branch: master Commit: 64951f71101ca0c8ea42409c980b10b1171ba1a1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=64951f71101ca0c8ea42409c98... Author: André Hentschel <nerv(a)dawncrow.de> Date: Fri May 28 15:48:02 2010 +0200 dbghelp: Use the available PowerPC functions. --- dlls/dbghelp/dbghelp.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dlls/dbghelp/dbghelp.c b/dlls/dbghelp/dbghelp.c index d9a828f..0966f27 100644 --- a/dlls/dbghelp/dbghelp.c +++ b/dlls/dbghelp/dbghelp.c @@ -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
participants (1)
-
Alexandre Julliard