On 26 January 2016 at 23:04, Yury Zhuravlev <[email protected]> wrote:
> Hello hackers. > Why we do not use PGDLLEXPORT (__declspec (dllexport)) for the libpq (and > other dlls)? > Now we are using black magic with gendef.pl for get def (aka export.txt) > from .obj files. > I have set for some functions and it works. > Perhaps there is a circumstance that I do not know but my version seems to > me simplify build under Windows. > See http://www.postgresql.org/message-id/[email protected] and http://www.postgresql.org/message-id/[email protected] (sorry for HTML horror) for history. TL;DR: PGDLLEXPORT is considered ugly Windows-droppings in the code and so a less visible, albeit more convoluted, solution is used. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
