forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7e0c574
committed
MSVC 2012+: Permit linking to 32-bit, MinGW-built libraries.
Notably, this permits linking to the 32-bit Perl binaries advertised onperl.org, namely Strawberry Perl and ActivePerl. This has a side effectof 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 exceptionhandler metadata, so linking to them failed with error LNK2026. Restorethe semantics of MSVC 2010, which omits the table from a given binary ifsome linker input lacks metadata. This has no effect on 64-bit buildsor on MSVC 2010 and earlier. Back-patch to 9.3 (all supportedversions).Reported by Victor Wagner.Discussion:https://postgr.es/m/20160326154321.7754ab8f@wagner.wagner.home1 parent65a00f3 commit7e0c574
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
320 | 320 |
| |
321 | 321 |
| |
322 | 322 |
| |
| 323 | + | |
| 324 | + | |
323 | 325 |
| |
324 | 326 |
| |
325 | 327 |
| |
|
0 commit comments
Comments
(0)