win32 socket definition - Mailing list pgsql-hackers

From Magnus Hagander
Subject win32 socket definition
Date
Msg-id 9837222c1001011125x41520390s5cb00e8aff0c2910@mail.gmail.com
Whole thread Raw
Responses Re: win32 socket definition  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: win32 socket definition  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
The win64 port has showed that we have two sockets declared
incorrectly. They are supposed to be declared as SOCKET on win32, but
they are declared as int. See attached patch.

Given that SOCKET is actually defined as int on win32 (no warnings or
anything there, just on win64), I'm inclined to apply this patch just
to HEAD and not bother with backpatching.

Comments?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Win64 warnings about size_t
Next
From: Magnus Hagander
Date:
Subject: Re: Win64 warnings about size_t