issue-457: Fixed an issue where the 'getpc' testcase was using the wrong PPC64 preprocessor directive

git-svn-id: http://gperftools.googlecode.com/svn/trunk@154 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
This commit is contained in:
chappedm@gmail.com 2012-09-18 00:52:13 +00:00
parent 711232a1ef
commit 771b6bcf68

View File

@ -106,7 +106,7 @@ int main(int argc, char** argv) {
// ElfW(Addr) gp; /* global pointer */
// };
// We want the code entry point.
#if defined(__ia64) || defined(__ppc64) // NOTE: ppc64 is UNTESTED
#if defined(__ia64) || defined(__powerpc64__) // NOTE: ppc64 is UNTESTED
expected = ((char**)expected)[0]; // this is "ip"
#endif