diff options
author | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-14 18:39:49 +0000 |
---|---|---|
committer | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-14 18:39:49 +0000 |
commit | e58ffeb322e2ef88cc23e9505366418bf793316d (patch) | |
tree | f0388fd05761378accf4d5101e89a445045498bf /tcg/tcg.h | |
parent | bc575e95d15dae70490ad165950f56235fbfa779 (diff) |
Remove all traces of __powerpc__
According to $GCC/gcc/config/rs6000/rs6000-c.c _ARCH_PPC is the
ubiquitous define which should be used to test whether gcc targets
PowerPC, on 64bit platforms _ARCH_PPC64 will be also defined.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6301 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r-- | tcg/tcg.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -457,7 +457,7 @@ uint64_t tcg_helper_divu_i64(uint64_t arg1, uint64_t arg2); uint64_t tcg_helper_remu_i64(uint64_t arg1, uint64_t arg2); extern uint8_t code_gen_prologue[]; -#if defined(__powerpc__) && !defined(__powerpc64__) +#if defined(_ARCH_PPC) && !defined(_ARCH_PPC64) #define tcg_qemu_tb_exec(tb_ptr) \ ((long REGPARM __attribute__ ((longcall)) (*)(void *))code_gen_prologue)(tb_ptr) #else |