Обсуждение: pgsql: Unconditionally use the WSA equivalents of Socket error constant

Поиск
Список
Период
Сортировка

pgsql: Unconditionally use the WSA equivalents of Socket error constant

От
Andrew Dunstan
Дата:
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_1_STABLE

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

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