Skip to content

Commit 4babae1

Browse files
committed
Try to fix MSVC build of pg_rewind.
It worked in my Windows VM with VS2013, but buildfarm animal mastodon, running MSVC 2005, was not happy. Amit Kapila also reported a similar error earlier in his environment. Let's see if this helps.
1 parent 61081e7 commit 4babae1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/msvc/Mkvcbuild.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ sub mkvcbuild
427427
$pgrewind->{name} = 'pg_rewind';
428428
$pgrewind->AddFile('src\backend\access\transam\xlogreader.c');
429429
$pgrewind->AddLibrary('ws2_32.lib');
430+
$pgrewind->AddDefine('FRONTEND');
430431

431432
my $pgevent = $solution->AddProject('pgevent', 'dll', 'bin');
432433
$pgevent->AddFiles('src\bin\pgevent', 'pgevent.c', 'pgmsgevent.rc');

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy