Issue 28271: [MinGW] Can't compile _ctypes/callproc.c - SEH not supported by MinGW (original) (raw)

Structured exception handling not supported by MinGW, and as a result file 'Modules/_ctypes/callproc.c' is not compilable by MinGW without patching

As I know the patch was initially introduced in Google's repo, and fixed file 'callproc.c' now can be found here https://android.googlesource.com/platform/external/python/+/upstream-2.7/Modules/_ctypes/callproc.c

Since I am sure that it is waste of time to wait while Googe suggest the patch in cpython upstream, I'm just injected Google's patch to the recent python version.

So suggested patch (for 3.5.2 and 2.7.12) is just an adoption of Google's patch to the recent cpython versions.