RE: [HACKERS] AW: compilation problem on AIX

Поиск
Список
Период
Сортировка
От Taral
Тема RE: [HACKERS] AW: compilation problem on AIX
Дата
Msg-id 000701bdf6d0$0427f580$3b291f0a@taral
обсуждение исходный текст
Ответ на Re: [HACKERS] AW: compilation problem on AIX  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Marc had the right idea: a configure test is the only real way to
> discover how getsockname() is declared.  A small problem is that
> configure can only detect outright compilation failures, not warnings.
> That's probably good enough, but people with nonstandard definitions
> of getsockname may have to live with looking at warnings.

Just redeclare the function with the parameters you expect. Most compilers
will fail if you redeclare with parameters of different types or different
number of parameters, but silently ignore functionally identical prototype
lines.

Taral


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: What about LIMIT in SELECT ?
Следующее
От: Paul A Vixie
Дата:
Сообщение: Re: [HACKERS] Re: inet/cidr/bind