[Lldb-commits] [lldb] [lldb-dap] Fix win32 build. (PR #135638)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 14 09:09:28 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: John Harrison (ashgti)
<details>
<summary>Changes</summary>
This enum was not fully specified.
---
Full diff: https://github.com/llvm/llvm-project/pull/135638.diff
1 Files Affected:
- (modified) lldb/tools/lldb-dap/Transport.cpp (+1-1)
``````````diff
diff --git a/lldb/tools/lldb-dap/Transport.cpp b/lldb/tools/lldb-dap/Transport.cpp
index 96b8a48fdf61e..ffd0c49f1770b 100644
--- a/lldb/tools/lldb-dap/Transport.cpp
+++ b/lldb/tools/lldb-dap/Transport.cpp
@@ -38,7 +38,7 @@ ReadFull(IOObject &descriptor, size_t length,
bool timeout_supported = true;
// FIXME: SelectHelper does not work with NativeFile on Win32.
#if _WIN32
- timeout_supported = descriptor.GetFdType() == eFDTypeSocket;
+ timeout_supported = descriptor.GetFdType() == IOObject::eFDTypeSocket;
#endif
if (timeout && timeout_supported) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/135638
More information about the lldb-commits
mailing list