Summary: |
make sure we use the correct win32 socket errno codes |
Product: |
PulseAudio
|
Reporter: |
Pierre Ossman <pierre-bugzilla> |
Component: |
core | Assignee: |
pulseaudio-bugs |
Status: |
RESOLVED
FIXED
|
QA Contact: |
pulseaudio-bugs |
Severity: |
normal
|
|
|
Priority: |
medium
|
CC: |
lennart
|
Version: |
unspecified | |
|
Hardware: |
Other | |
|
OS: |
All | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
patch that fixes all errno defines
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 116152 [details] 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.