On Wed, Jan 6, 2010 at 23:17, Tom Lane <t...@sss.pgh.pa.us> wrote: > Magnus Hagander <mag...@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 Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers