Re: ss_family in hba.c

Поиск
Список
Период
Сортировка
От Jason Tishler
Тема Re: ss_family in hba.c
Дата
Msg-id 20030624201013.GA1712@tishler.net
обсуждение исходный текст
Ответ на Re: ss_family in hba.c  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: ss_family in hba.c  (Kurt Roeckx <Q@ping.be>)
Список pgsql-hackers
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?

Yes:

    gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include  -DBUILDING_DLL  -c -o
printtup.oprinttup.c 
    In file included from ../../../../src/include/libpq/libpq-be.h:22,
                     from ../../../../src/include/libpq/libpq.h:21,
                     from printtup.c:20:
    ../../../../src/include/libpq/pqcomm.h:54: parse error before "sa_family_t"
    [snip]

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: pg_get_triggerdef in pg_dump
Следующее
От: Robert Treat
Дата:
Сообщение: Re: Two weeks to feature freeze