Fixed missing define ENETUNREACH. Every 2 sec logmessage Connect failed with 10051

Bug: webrtc:12279
Change-Id: I7fb3814d3eace886cf2fe1c94bfe48ec247ffda0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/205004
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33176}
This commit is contained in:
Berthold Herrmann
2021-02-05 10:46:26 +01:00
committed by Commit Bot
parent ab9d6e1fd2
commit 1184b5537f

View File

@ -59,6 +59,8 @@
#define ECONNREFUSED WSAECONNREFUSED
#undef EHOSTUNREACH
#define EHOSTUNREACH WSAEHOSTUNREACH
#undef ENETUNREACH
#define ENETUNREACH WSAENETUNREACH
#define SOCKET_EACCES WSAEACCES
#endif // WEBRTC_WIN