pgsql: Unconditionally use the WSA equivalents of Socket error constant

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Unconditionally use the WSA equivalents of Socket error constant
Date: 2013-08-26 18:58:58
Message-ID: E1VE20A-0001MX-Pb@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Unconditionally use the WSA equivalents of Socket error constants.

This change will only apply to mingw compilers, and has been found
necessary by late versions of the mingw-w64 compiler. It's the same as
what is done elsewhere for the Microsoft compilers.

Backpatch of commit 73838b5251e.

Problem reported by Michael Cronenworth, although not his patch.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/e912963a22ba5c1bd909d6ee53f41b8ae6c69166

Modified Files
--------------
src/include/port/win32.h | 30 ++++++++++--------------------
1 file changed, 10 insertions(+), 20 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2013-08-26 18:59:07 pgsql: Unconditionally use the WSA equivalents of Socket error constant
Previous Message Andrew Dunstan 2013-08-26 18:58:48 pgsql: Unconditionally use the WSA equivalents of Socket error constant