pgsql: Remove dead code in win32.h. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Remove dead code in win32.h.
Date
Msg-id E1atLhN-0000L0-QS@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove dead code in win32.h.

There's no longer a need for the MSVC-version-specific code stanza that
forcibly redefines errno code symbols, because since commit 73838b52 we're
unconditionally redefining them in the stanza before this one anyway.
Now it's merely confusing and ugly, so get rid of it; and improve the
comment that explains what's going on here.

Although this is just cosmetic, back-patch anyway since I'm intending
to back-patch some less-cosmetic changes in this same hunk of code.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/575cbd48cd33328570a8c2ce7934d5d62cb4c3e6

Modified Files
--------------
src/include/port/win32.h | 29 ++++++++---------------------
1 file changed, 8 insertions(+), 21 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Remove dead code in win32.h.
Next
From: Tom Lane
Date:
Subject: pgsql: Improve TranslateSocketError() to handle more Windows error code