pseudotcp: Only define errnos on Windows if not already defined
Recent versions of MinGW define at least ECONNABORTED and EAFNOSUPPORT, so only define the various socket errnos if they are not defined already. Based on a patch by Alexey Pawlow <alexey.pawlow@gmail.com> and Felix <felixschlitter@gmail.com>. Reviewed-by:Olivier Crete <olivier.crete@collabora.com> Reviewed-by:
Felix Schlitter <felixschlitter@gmail.com> http://phabricator.freedesktop.org/T122
Showing
Please register or sign in to comment