Co-authored-by: Thomas Behn <[email protected]>
@@ -178,7 +178,9 @@ using socket_t = SOCKET;
#include <unistd.h>
using socket_t = int;
+#ifndef INVALID_SOCKET
#define INVALID_SOCKET (-1)
+#endif
#endif //_WIN32
#include <algorithm>