Removing dependency to wsock32.lib when compiling code on WIndows

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Removing dependency to wsock32.lib when compiling code on WIndows
Date: 2014-04-21 03:54:48
Message-ID: CAB7nPqRy=KQRZCvSq+-1E0eHBKwkim_9LmgYKkRdfLFK_8Ss=w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
20140421_winsock2_build.patch text/plain 2.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2014-04-21 04:21:04 Re: PATCH: Allow empty targets in unaccent dictionary
Previous Message Stephen Frost 2014-04-21 03:00:09 Re: DISCARD ALL (Again)