fixed for linux

This commit is contained in:
muellerr committed 2021-03-21 12:51:28 +01:00
1 parent d625642abc
commit 86577f4b80
13 files changed
+484 -467

No files matched your search

+2 -1
View File
@@ -2,6 +2,7 @@
#ifdef __unix__
#include <errno.h>
#include <unistd.h>
#endif
@@ -21,7 +22,7 @@ int TcpIpBase::closeSocket(socket_t socket) {
#ifdef _WIN32
return closesocket(socket);
#elif defined(__unix__)
return close(socket)
return close(socket);
#endif
}