diff --git a/src/Cedar/Client.c b/src/Cedar/Client.c index 6fa0a07f..ddc391d6 100644 --- a/src/Cedar/Client.c +++ b/src/Cedar/Client.c @@ -1869,6 +1869,7 @@ BEGIN_LISTENER: // If the port cannot be opened if (cn_next_allow <= Tick64()) { +#ifdef OS_WIN32 if (cursor_changed) { // It can be judged to have the rights to open the port @@ -1876,6 +1877,7 @@ BEGIN_LISTENER: // So, take over the port which is owned by other process forcibly CncReleaseSocket(); } +#endif // OS_WIN32 if (cn_listener->Halt) {