core: make sure we use the correct win32 socket errno:s

System Internals / PulseAudio - Pierre Ossman [cendio.se] - 30 May 2015 05:14 EDT

Modern versions of MinGW and Visual Studio provide socket errno defines that make no sense (no API sets them). Make sure we continue to use the old WSAE ones that are actually returned by Windows' socket API.

d284d90 core: make sure we use the correct win32 socket errno:s
src/pulsecore/socket.h | 13 +------
src/pulsecore/winerrno.h | 89 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+), 12 deletions(-)

Upstream: cgit.freedesktop.org


  • Share