Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commited80f57

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 thefunctions. You're not supposed to do that. You're actually supposed todeclare 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 parenteff77a7 commited80f57

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)

[8]ページ先頭

©2009-2025 Movatter.jp