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
This commit is contained in:
Bruce Momjian 2006-10-03 22:12:14 +00:00
parent eff77a759a
commit ed80f5701b
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
; dlltool --output-def pgevent.def pgevent.o pgmsgevent.o
EXPORTS
DllUnregisterServer=DllUnregisterServer@0 @ 1;
DllRegisterServer=DllRegisterServer@0 @ 2;
DllUnregisterServer ;
DllRegisterServer ;

View File

@ -123,6 +123,10 @@ my $pgctl = AddSimpleFrontend('pg_ctl', 1);
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);
$psql->AddIncludeDir('src\bin\pg_dump');
$psql->AddFile('src\bin\psql\psqlscan.l');