Enable compiling with the mingw-w64 32 bit compiler.

Andrew Dunstan <andrew@dunslane.net>

Commit: 1a0c76c32fe470142d3663dd84ac960d75a4e8db
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2011-12-10T20:35:41Z
Releases: 9.2.0
Enable compiling with the mingw-w64 32 bit compiler.

Original patch by Lars Kanis, reviewed by Nishiyama Tomoaki and tweaked some by me.

This compiler, or at least the latest version of it, is currently broken, and
only passes the regression tests if built with -O0.

Files

PathChange+/−
config/ac_func_accept_argtypes.m4 modified +1 −1
configure modified +157 −2
configure.in modified +6 −1
src/include/c.h modified +2 −1
src/include/pg_config.h.in modified +3 −0
src/include/port/win32.h modified +25 −1
src/interfaces/ecpg/test/resultmap modified +3 −0
src/interfaces/libpq/win32.h modified +6 −0
src/port/getaddrinfo.c modified +1 −3
src/test/regress/resultmap modified +3 −0