Re: [HACKERS] sa_family_t in cygwin compile of cvs

From: deststar <deststar(at)blueyonder(dot)co(dot)uk>
To: Jason Tishler <jason(at)tishler(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: [HACKERS] sa_family_t in cygwin compile of cvs
Date: 2003-06-18 00:09:58
Message-ID: 3EEFADD6.9020402@blueyonder.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers

Jason Tishler wrote:
> On Sun, Jun 15, 2003 at 04:54:21PM +0100, deststar wrote:
>
>>On cygwin sa_family_t was undeclared, adding the following line:
>>typedef unsigned short sa_family_t;
>>to both:
>>src/port/getaddrinfo.c
>>src/include/libpq/pqcomm.h
>
>
> Isn't the attached or fixing Cygwin itself a better approach?
>
>
Yes it does seem better, attached is a proposed patch to cygwin.h &
configure.in (incase cygwin gets it in future)
Have tested with make installcheck & it works fine.
If you see no problems I will sumit to patches
thanks,
- Stuart

Attachment Content-Type Size
cygwin.h.diff text/plain 301 bytes
configure.in.diff text/plain 529 bytes

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Bruce Momjian 2003-06-18 01:12:56 Re: [HACKERS] sa_family_t in cygwin compile of cvs
Previous Message Mike Aubury 2003-06-17 21:05:06 Re: ss_family in hba.c

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-06-18 01:12:56 Re: [HACKERS] sa_family_t in cygwin compile of cvs
Previous Message Gavin Sherry 2003-06-18 00:01:37 Re: O_DIRECT in freebsd