Commit a281b06c authored by Joe Lee's avatar Joe Lee

Resolve unused function warning in mingw build

parent 52294b33
......@@ -189,17 +189,6 @@ int win32Socketpair(SOCKET socks[2]) {
namespace {
bool detectWine() {
HMODULE hntdll = GetModuleHandle("ntdll.dll");
if(hntdll == NULL) return false;
return GetProcAddress(hntdll, "wine_get_version") != nullptr;
}
bool isWine() {
static bool result = detectWine();
return result;
}
// =======================================================================================
static constexpr uint NEW_FD_FLAGS = LowLevelAsyncIoProvider::TAKE_OWNERSHIP;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment