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

From Michael Paquier
Subject Removing dependency to wsock32.lib when compiling code on WIndows
Date
Msg-id CAB7nPqRy=KQRZCvSq+-1E0eHBKwkim_9LmgYKkRdfLFK_8Ss=w@mail.gmail.com
Whole thread Raw
Responses Re: Removing dependency to wsock32.lib when compiling code on WIndows  (Michael Paquier <michael.paquier@gmail.com>)
Re: Removing dependency to wsock32.lib when compiling code on WIndows  ("MauMau" <maumau307@gmail.com>)
List pgsql-hackers
Hi all,

When doing some work on Windows, I noticed that the mkvc specs in
src/tools/msvc use wsock32.lib, which is as far as I understand an
old, obsolete version of the Windows socket library. Wouldn't it make
sense to update the specs to build only with ws2_32.lib like in the
patch attached?
Regards,
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: DISCARD ALL (Again)
Next
From: David Fetter
Date:
Subject: Re: PATCH: Allow empty targets in unaccent dictionary