> those certainly should work, forgot about them. > you should be able to login to a powerpc porterbox and check. > cat test.c > __POWERPC__ > gcc -E test.c
i tried with something like this: $ cat t.c #ifdef __POWERPC__ #ifndef NDEBUG // disable asserts malloc broken // https://sourceware.org/bugzilla/show_bug.cgi?id=6527 #define NDEBUG #endif #endif #define PY_SSIZE_T_CLEAN $ gcc -E t.c # 1 "t.c" # 1 "<built-in>" # 1 "<command-line>" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "<command-line>" 2 # 1 "t.c" I guess the output means the __POWERPC__ is not recognized right? I slightly changed your patch to use the same macro as in npy_cpu; if even that one fails, for teh benefit of the transition I will disable the failure for tests and will address it in due time -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi