Skip to content
Snippets Groups Projects

network: fix win32 errno usage with poll

Merged Steve Lhomme requested to merge robUx4/vlc:net-errno-fixes into master
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
+ 2
0
@@ -25,6 +25,7 @@
#include <stdlib.h>
#include <errno.h>
#include <winerror.h>
#include <winsock2.h>
#include <vlc_common.h>
@@ -83,6 +84,7 @@ static const wsaerrmsg_t wsaerrmsg[] =
{ WSAEDQUOT, "Disk quota exceeded" },
{ WSAESTALE, "Stale file handle reference" },
{ WSAEREMOTE, "Item is remote", },
{ WSA_INVALID_PARAMETER, "Invalid parameter", },
{ WSASYSNOTREADY, "Network subsystem is unavailable (network stack not ready)" },
{ WSAVERNOTSUPPORTED, "Winsock.dll version out of range (network stack version not supported" },
{ WSANOTINITIALISED, "Network not initialized" },
Loading