diff --git a/source/vibe/core/core.d b/source/vibe/core/core.d index e23f61d..5307852 100644 --- a/source/vibe/core/core.d +++ b/source/vibe/core/core.d @@ -1507,20 +1507,6 @@ private void setupSignalHandlers() // per process setup shared static this() { - version(Windows){ - version(VibeLibeventDriver) enum need_wsa = true; - else version(VibeWin32Driver) enum need_wsa = true; - else enum need_wsa = false; - static if (need_wsa) { - logTrace("init winsock"); - // initialize WinSock2 - import core.sys.windows.winsock2; - WSADATA data; - WSAStartup(0x0202, &data); - - } - } - s_isMainThread = true; // COMPILER BUG: Must be some kind of module constructor order issue: diff --git a/source/vibe/core/sync.d b/source/vibe/core/sync.d index 6aef38b..f85d436 100644 --- a/source/vibe/core/sync.d +++ b/source/vibe/core/sync.d @@ -438,7 +438,6 @@ final class InterruptibleTaskMutex : Lockable { void unlock() nothrow { m_impl.unlock(); } } -version (VibeLibevDriver) {} else // timers are not implemented for libev, yet unittest { runMutexUnitTests!InterruptibleTaskMutex(); } @@ -475,7 +474,6 @@ final class RecursiveTaskMutex : core.sync.mutex.Mutex, Lockable { override void unlock() { m_impl.unlock(); } } -version (VibeLibevDriver) {} else // timers are not implemented for libev, yet unittest { runMutexUnitTests!RecursiveTaskMutex(); } @@ -507,7 +505,6 @@ final class InterruptibleRecursiveTaskMutex : Lockable { void unlock() { m_impl.unlock(); } } -version (VibeLibevDriver) {} else // timers are not implemented for libev, yet unittest { runMutexUnitTests!InterruptibleRecursiveTaskMutex(); }