diff options
author | Noah Misch <noah@leadboat.com> | 2017-12-09 00:58:55 -0800 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2017-12-09 00:58:58 -0800 |
commit | e2cc65050b0bad0b6b0e291f1d0bf1b44b2b1369 (patch) | |
tree | bff3d218e844ebd65619fce1845b2ca25c7d9dd3 /src/backend/access/gist/gistxlog.c | |
parent | 9b5c99790e83ca539932426f41ae6e14b1748e8d (diff) | |
download | postgresql-e2cc65050b0bad0b6b0e291f1d0bf1b44b2b1369.tar.gz postgresql-e2cc65050b0bad0b6b0e291f1d0bf1b44b2b1369.zip |
MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries.
Notably, this permits linking to the 32-bit Perl binaries advertised on
perl.org, namely Strawberry Perl and ActivePerl. This has a side effect
of permitting linking to binaries built with obsolete MSVC versions.
By default, MSVC 2012 and later require a "safe exception handler table"
in each binary. MinGW-built, 32-bit DLLs lack the relevant exception
handler metadata, so linking to them failed with error LNK2026. Restore
the semantics of MSVC 2010, which omits the table from a given binary if
some linker input lacks metadata. This has no effect on 64-bit builds
or on MSVC 2010 and earlier. Back-patch to 9.3 (all supported
versions).
Reported by Victor Wagner.
Discussion: https://postgr.es/m/20160326154321.7754ab8f@wagner.wagner.home
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions