Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-cygwinpgsql-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: configure.in.diff
Description: text/plain (529 bytes)
Attachment: cygwin.h.diff
Description: text/plain (301 bytes)

In response to

Responses

pgsql-cygwin by date

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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group