extern "C" void PPC32CompilationCallback();
extern "C" void PPC64CompilationCallback();
-#if !defined(__powerpc__) || defined(__powerpc64__)
+#if (!defined(__ppc__) && !defined(__powerpc__)) || defined(__powerpc64__) || defined(__ppc64__)
void PPC32CompilationCallback() {
llvm_unreachable("This is not a 32bit PowerPC, you can't execute this!");
}
);
#endif
-#ifndef __powerpc64__
+#if !defined(__powerpc64__) && !defined(__ppc64__)
void PPC64CompilationCallback() {
llvm_unreachable("This is not a 64bit PowerPC, you can't execute this!");
}