Re: [HACKERS] ss_family in hba.c

Поиск
Список
Период
Сортировка
От Kurt Roeckx
Тема Re: [HACKERS] ss_family in hba.c
Дата
Msg-id 20030625160630.GA22773@ping.be
обсуждение исходный текст
Ответ на Re: [HACKERS] ss_family in hba.c  (Jason Tishler <jason@tishler.net>)
Список pgsql-cygwin
On Tue, Jun 24, 2003 at 04:10:13PM -0400, Jason Tishler wrote:
> Bruce,
>
> On Tue, Jun 24, 2003 at 03:04:05PM -0400, Bruce Momjian wrote:
> > Kurt Roeckx wrote:
> > > All that probably needed to change for cygwin was to no longer
> > > use sa_family_t in the getaddrinfo.c.
> >
> > But Jason reported he needed that typedef for sa_family_t.  Jason, is
> > that accurate.
>
> Yes.
>
> > If you remove the Cygwin typedef in pqcomm.h, does the compile fail?

It seems that struct sockaddr_storage is defined in winsock2.h,
but that is only included in the win32 port.

Maybe the right solution is the include that winsock2.h instead
(through windows.h?)  And make sure configure also includes it
when doing the checks.

The headers even seem to define struct sockaddr_in6, getaddrinfo
and getnameinfo, so I wonder if cygwin supports ipv6 or not.


Kurt


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

Предыдущее
От: "Petermann, Joachim (JP)"
Дата:
Сообщение: Re: postmaster crashes on start-up
Следующее
От: denis@coralindia.com
Дата:
Сообщение: Re: psql: could not connect to server: Bad file descriptor