pgsql: Remove dead code in win32.h.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Remove dead code in win32.h.
Дата
Msg-id E1atLhN-0000LA-RM@gemulon.postgresql.org
обсуждение исходный текст
Список 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_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/87351503a0f62993be62d1faf9419d4ed222c514

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve TranslateSocketError() to handle more Windows error code
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: [HACKERS] Re: pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold <