Skip to content

Commit ed80f57

Browse files
committed
pgevent fixes:
1) Make vcbuild actually build the pgevent dll. 2) Change the pgevent DLL file so it doens't specify ordinal for the functions. You're not supposed to do that. You're actually supposed to declare them as PRIVATE as well, but mingw doesn't support that. VC++ will throw a warning and not an error though, so we can live with it. Magnus Hagander
1 parent eff77a7 commit ed80f57

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/bin/pgevent/pgevent.def

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
; dlltool --output-def pgevent.def pgevent.o pgmsgevent.o
22
EXPORTS
3-
DllUnregisterServer=DllUnregisterServer@0 @ 1;
4-
DllRegisterServer=DllRegisterServer@0 @ 2;
3+
DllUnregisterServer ;
4+
DllRegisterServer ;

src/tools/msvc/mkvcbuild.pl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@
123123

124124
my $pgreset = AddSimpleFrontend('pg_resetxlog');
125125

126+
my $pgevent = $solution->AddProject('pgevent','dll','bin');
127+
$pgevent->AddFiles('src\bin\pgevent','pgevent.c','pgmsgevent.rc');
128+
$pgevent->UseDef('src\bin\pgevent\pgevent.def');
129+
126130
my $psql = AddSimpleFrontend('psql', 1);
127131
$psql->AddIncludeDir('src\bin\pg_dump');
128132
$psql->AddFile('src\bin\psql\psqlscan.l');

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