From 0e83e7997407b146a44a329dcd0a5c5249297a5c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 30 Apr 2022 16:11:41 +0100 Subject: Enable support for UNIX socket listeners on Windows. --- src/socket.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/socket.cpp') diff --git a/src/socket.cpp b/src/socket.cpp index 8fde965bb..a48b3e257 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -96,7 +96,6 @@ size_t InspIRCd::BindPorts(FailedPortList& failed_ports) continue; } -#ifndef _WIN32 // Are we creating a UNIX listener? const std::string path = tag->getString("path"); if (!path.empty()) @@ -127,7 +126,6 @@ size_t InspIRCd::BindPorts(FailedPortList& failed_ports) else bound++; } -#endif } std::vector::iterator n = ports.begin(); -- cgit v1.3.1-10-gc9f91