Do not rely on __powerpc__ being defined as a feature test macro
commit1eff7fbf116790aaacc8f89def68be11149626cc
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 13 Jan 2009 23:12:34 +0000 (13 23:12 +0000)
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 13 Jan 2009 23:12:34 +0000 (13 23:12 +0000)
tree5f3b0572c5519def8fc50591236041ddc24d4781
parent291c6ff9bf8cec5f7aa3f0da8895bd65b7d9bf93
Do not rely on __powerpc__ being defined as a feature test macro

__powerpc__ is not defined on AIX and Darwin, Makefile.target adds
it to CPPFLAGS for target specific code which cache-utils are not.

Since there's not common definition which can safely be used on all
platforms use HOST_PPC provided by config-host.h

The problem was originally reported by C. W. Betts

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6292 c046a42c-6fe2-441c-8c8c-71466251a162
cache-utils.c
cache-utils.h