1b4e012
diff -up Python-3.2b2/Python/ceval.c.fix-ppc-debug-build Python-3.2b2/Python/ceval.c
1b4e012
--- Python-3.2b2/Python/ceval.c.fix-ppc-debug-build	2011-01-05 16:37:27.007598805 -0500
1b4e012
+++ Python-3.2b2/Python/ceval.c	2011-01-05 16:45:06.562652472 -0500
1b4e012
@@ -30,10 +30,11 @@
1b4e012
 
1b4e012
 typedef unsigned long long uint64;
1b4e012
 
1b4e012
-#if defined(__ppc__) /* <- Don't know if this is the correct symbol; this
1b4e012
-                           section should work for GCC on any PowerPC
1b4e012
-                           platform, irrespective of OS.
1b4e012
-                           POWER?  Who knows :-) */
1b4e012
+/* PowerPC suppport.
1b4e012
+   "__ppc__" appears to be the preprocessor definition to detect on OS X, whereas
1b4e012
+   "__powerpc__" appears to be the correct one for Linux with GCC
1b4e012
+*/
1b4e012
+#if defined(__ppc__) || defined (__powerpc__)
1b4e012
 
1b4e012
 #define READ_TIMESTAMP(var) ppc_getcounter(&var)
1b4e012