Network/SocketImpl: Fix compilation

This commit is contained in:
Lynix
2017-01-27 14:55:37 +01:00
parent ab3b730d21
commit 002d33f590
2 changed files with 3 additions and 2 deletions

View File

@@ -9,6 +9,7 @@
#include <netinet/tcp.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <poll.h>
#include <unistd.h>
#include <cstring>
@@ -465,7 +466,6 @@ namespace Nz
int errorCode = GetLastErrorCode();
switch (errorCode)
{
case EAGAIN:
case EWOULDBLOCK:
{
// If we have no data and are not blocking, return true with 0 byte read