Re: Autoconf, libpq and replacement function

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Autoconf, libpq and replacement function
Дата
Msg-id 492A9C7D.8030408@gmx.net
обсуждение исходный текст
Ответ на Re: Autoconf, libpq and replacement function  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Autoconf, libpq and replacement function  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Tom Lane wrote:
> Also, right now we have got
> 
> src/include/getaddrinfo.h
> src/include/getopt_long.h
> 
> which really make me itch now that I am contemplating the possibility
> that we try to use libc-supplied code for these functions along with
> our own header definitions.

These particular header files look like they are robust enough to deal 
with this case.  But overall this isn't a great idea.

> I think the reason we've avoided putting such stuff into include/port/
> is that right now that directory consists exclusively of OS-specific
> files.  Maybe we need another include subdirectory?

I think the idea is rather that you don't need to change call sites to 
include the system header or our own.  The symlink approach I mentioned 
earlier might work.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Autoconf, libpq and replacement function
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: blatantly a bug in the documentation