Commit ed80f570 authored by Bruce Momjian's avatar Bruce Momjian

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
parent eff77a75
; dlltool --output-def pgevent.def pgevent.o pgmsgevent.o ; dlltool --output-def pgevent.def pgevent.o pgmsgevent.o
EXPORTS EXPORTS
DllUnregisterServer=DllUnregisterServer@0 @ 1; DllUnregisterServer ;
DllRegisterServer=DllRegisterServer@0 @ 2; DllRegisterServer ;
...@@ -123,6 +123,10 @@ my $pgctl = AddSimpleFrontend('pg_ctl', 1); ...@@ -123,6 +123,10 @@ my $pgctl = AddSimpleFrontend('pg_ctl', 1);
my $pgreset = AddSimpleFrontend('pg_resetxlog'); my $pgreset = AddSimpleFrontend('pg_resetxlog');
my $pgevent = $solution->AddProject('pgevent','dll','bin');
$pgevent->AddFiles('src\bin\pgevent','pgevent.c','pgmsgevent.rc');
$pgevent->UseDef('src\bin\pgevent\pgevent.def');
my $psql = AddSimpleFrontend('psql', 1); my $psql = AddSimpleFrontend('psql', 1);
$psql->AddIncludeDir('src\bin\pg_dump'); $psql->AddIncludeDir('src\bin\pg_dump');
$psql->AddFile('src\bin\psql\psqlscan.l'); $psql->AddFile('src\bin\psql\psqlscan.l');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment