Work around issues in MinGW-64's setjmp/longjmp support. It's hard to avoid the conclusion that there is something wrong with setjmp/longjmp on MinGW-64, as we have seen failures come and go after entirely-unrelated-looking changes in our own code. Other projects such as Ruby have given up and started using gcc's setjmp/longjmp builtins on that platform; this patch just follows that lead.
Note that this is a pretty fundamental ABI break for functions containining either setjmp or longjmp, so we can't really consider a back-patch. Per reports from Regina Obe and Heath Lord, as well as recent failures on buildfarm member walleye, and less-recent failures on fairywren. Juan José SantamarÃa Flecha Discussion: https://postgr.es/m/[email protected] Discussion: https://postgr.es/m/ca+bebhvhhm-bn628pf-lsjqrh3ang7qcsbg0ga+7kwhgqrn...@mail.gmail.com Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/146cb3889c3ccb3fce198fe7464a1296a9e107c3 Modified Files -------------- src/include/c.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-)
