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.
Thanks! Applied. I also added winerrno.h to Makefile.am.
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.