提交 ed80f570 编写于 作者: B 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
上级 eff77a75
; 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');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册