Re: Removing dependency to wsock32.lib when compiling code on WIndows - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Removing dependency to wsock32.lib when compiling code on WIndows
Date
Msg-id CAB7nPqTr0edWZnbHwWtePY+2s43AiSR3XyLXorFpdWZsqfyrAw@mail.gmail.com
Whole thread Raw
In response to Re: Removing dependency to wsock32.lib when compiling code on WIndows  ("MauMau" <maumau307@gmail.com>)
List pgsql-hackers
On Thu, Jun 19, 2014 at 11:13 PM, MauMau <maumau307@gmail.com> wrote:
> * The patch applies cleanly.  Running "grep -lir wsock32 ." after applying
> the patch shows that wsock32.lib is no longer used.
> However, I wonder if some DLL entries in dlls[] in
> src/interfaces/libpq/win32.c should be removed.  winsock.dll should
> definitely be removed, because it is for 16-bit applications.  I don't know
> about the rest.  Especially,  wsock32n.dll and mswsock.dll may also be
> obsolete libraries from their names.  Could you look into this and revise
> the patch if possible?  But I don't mind if you do so.
(google-sensei..) msock32n stands for Hummingbird Socks V4 Winsock
while mswsock implements the Windows socket SPI interface. I think we
should keep them and not risking opening a can of worms, but perhaps a
Windows guru has a different opinion on the matter.
-- 
Michael



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: calculation for NUM_FIXED_LWLOCKS
Next
From: Merlin Moncure
Date:
Subject: Re: Atomics hardware support table & supported architectures