Re: Adminpack build fix
От | Magnus Hagander |
---|---|
Тема | Re: Adminpack build fix |
Дата | |
Msg-id | 6BCB9D8A16AC4241919521715F4D8BCEA0FC8F@algol.sollentuna.se обсуждение исходный текст |
Ответ на | Re: Adminpack build fix (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Adminpack build fix
|
Список | pgsql-patches |
> > 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... Interedting - it builds on MSVC without it :-O Anyway. That certainly explains why MSVC is complaining - it's getting completely different definitions of these variables from the header and from the actual file. What do you think about simply adding DLLIMPORT to the variables in the main header? //Magnus
В списке pgsql-patches по дате отправления: