itagaki(at)postgresql(dot)org (Takahiro Itagaki) writes:
> Log Message:
> -----------
> PGDLLEXPORT is __declspec (dllexport) only on MSVC,
> but is __declspec (dllimport) on other compilers
> because cygwin and mingw don't like dllexport.
That probably explains why the code was the way it was before ...
regards, tom lane