[pulseaudio-tickets] [Bug 90773] New: make sure we use the correct win32 socket errno codes
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri May 29 07:46:14 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90773
Bug ID: 90773
Summary: make sure we use the correct win32 socket errno codes
Product: PulseAudio
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: core
Assignee: pulseaudio-bugs at lists.freedesktop.org
Reporter: pierre-bugzilla at ossman.eu
QA Contact: pulseaudio-bugs at lists.freedesktop.org
CC: lennart at poettering.net
Created attachment 116152
--> https://bugs.freedesktop.org/attachment.cgi?id=116152&action=edit
patch that fixes all errno defines
Visual Studio (and now mingw) provide some rather evil errno defines that are
never used by any Windows API. It breaks constructs such as:
#ifndef ECONNREFUSED
#define ECONNREFUSED WSAECONNREFUSED
#endif
Fortunately PulseAudio had a rather unconditional approach to handling winsock
defines. Still, this can cause compiler complaints and not all errno:s were
properly redefined.
The attached patch does a more complete coverage of things.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20150529/b93b6507/attachment.html>
More information about the pulseaudio-bugs
mailing list