Re: Adminpack build fix - Mailing list pgsql-patches

From Tom Lane
Subject Re: Adminpack build fix
Date
Msg-id 29296.1161279538@sss.pgh.pa.us
Whole thread Raw
In response to Adminpack build fix  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: Adminpack build fix  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-patches
"Magnus Hagander" <mha@sollentuna.net> writes:
> Attached patch removes a couple of extern definitions from adminpack,
> replacing some of them with a #include. (Cam eup with this because we
> got a duplicate definition of DataDir when building with Visual C++).

That isn't going to work unless we put DLLIMPORT into the main headers.
The reason for redeclaring these in the contrib files is to get
DLLIMPORT onto them...

            regards, tom lane

pgsql-patches by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Adminpack build fix
Next
From: Tom Lane
Date:
Subject: Re: Contrib Makefiles