================
@@ -493,7 +496,12 @@ ConnectionFileDescriptor::BytesAvailable(const
Timeout<std::micro> &timeout,
break; // Lets keep reading to until we timeout
}
} else {
+#if defined(_WIN32)
+ if (const auto *sock = static_cast<Socket *>(m_io_sp.get());
----------------
labath wrote:
probably check m_io_sp->GetFdType() first.
https://github.com/llvm/llvm-project/pull/145621
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits