On Wed, Jan 6, 2010 at 23:17, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> + /* socket has a different definition on WIN32 */
>> + #ifndef WIN32
>> + typedef char pgsocket;
>> + #else
>> + typedef SOCKET pgsocket;
>> + #endif
>
> BTW, I trust the non-windows case should be "int".
Haha, yeah, that was my attempt at producing a warning. Which didn't work :-)
-- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/