pgevent fixes

Started by Magnus Haganderalmost 20 years ago2 messagespatches
Jump to latest
#1Magnus Hagander
magnus@hagander.net

Two 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

Attachments:

pgevent.diffapplication/octet-stream; name=pgevent.diffDownload+8-4
#2Bruce Momjian
bruce@momjian.us
In reply to: Magnus Hagander (#1)
Re: pgevent fixes

Patch applied. Thanks.

---------------------------------------------------------------------------

Magnus Hagander wrote:

Two 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

Content-Description: pgevent.diff

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

--
Bruce Momjian bruce@momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +