mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
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:
parent
eff77a759a
commit
ed80f5701b
@ -1,4 +1,4 @@
|
||||
; dlltool --output-def pgevent.def pgevent.o pgmsgevent.o
|
||||
EXPORTS
|
||||
DllUnregisterServer=DllUnregisterServer@0 @ 1;
|
||||
DllRegisterServer=DllRegisterServer@0 @ 2;
|
||||
DllUnregisterServer ;
|
||||
DllRegisterServer ;
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user