| From: | Jason Tishler <jason(at)tishler(dot)net> |
|---|---|
| To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
| Cc: | Kurt Roeckx <Q(at)ping(dot)be>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>, pgsql-cygwin(at)postgreSQL(dot)org |
| Subject: | Re: [HACKERS] ss_family in hba.c |
| Date: | 2003-06-24 20:10:13 |
| Message-ID: | 20030624201013.GA1712@tishler.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-cygwin pgsql-general pgsql-hackers pgsql-patches |
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.o printtup.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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bernard NIZET | 2003-06-25 08:18:55 | User created under Win2K not found under CygWin |
| Previous Message | Bruce Momjian | 2003-06-24 19:04:05 | Re: [HACKERS] ss_family in hba.c |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Gould | 2003-06-24 20:17:39 | capturing and storing query statement with rules |
| Previous Message | Daniel E. Fisher | 2003-06-24 20:03:19 | 7.3.3 install under way |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Gould | 2003-06-24 20:17:39 | capturing and storing query statement with rules |
| Previous Message | Rod Taylor | 2003-06-24 19:07:53 | Re: pg_get_triggerdef in pg_dump |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Larry Rosenman | 2003-06-24 20:57:58 | Interval Patch |
| Previous Message | Bruce Momjian | 2003-06-24 19:04:05 | Re: [HACKERS] ss_family in hba.c |