On 2020/07/07 17:04, Sebastien Marie wrote: > Hi, > > I am looking to update py-gevent, and last version want updated greenlet. So I > am updating greenlet... > > Tested on amd64, py2.7 & py3.8. > > Comments or OK ?
OK. > + #include "platform/switch_amd64_unix.h" /* gcc on amd64 */ > + #elif defined(__GNUC__) && defined(__i386__) > #include "platform/switch_x86_unix.h" /* gcc on X86 */ > - #elif defined(__GNUC__) && defined(__powerpc64__) && defined(__linux__) > +-#elif defined(__GNUC__) && defined(__powerpc64__) && (defined(__linux__) || > defined(__FreeBSD__)) > ++#elif defined(__GNUC__) && defined(__powerpc64__) && (defined(__linux__) || > defined(__FreeBSD__) || defined(__OpenBSD__)) > #include "platform/switch_ppc64_linux.h" /* gcc on PowerPC 64-bit */ > --#elif defined(__GNUC__) && defined(__PPC__) && defined(__linux__) > -+#elif defined(__GNUC__) && defined(__PPC__) && defined(__OpenBSD__) > +-#elif defined(__GNUC__) && defined(__PPC__) && (defined(__linux__) || > defined(__FreeBSD__)) > ++#elif defined(__GNUC__) && defined(__PPC__) && (defined(__linux__) || > defined(__FreeBSD__) || defined(__OpenBSD__)) > #include "platform/switch_ppc_linux.h" /* gcc on PowerPC */ > #elif defined(__GNUC__) && defined(__ppc__) && defined(__APPLE__) > #include "platform/switch_ppc_macosx.h" /* Apple MacOS X on PowerPC */ good catch!