Author: John Harrison
Date: 2025-04-14T09:56:58-07:00
New Revision: 6b863e810d6decb689bff8f6620e8ea07b356d86

URL: 
https://github.com/llvm/llvm-project/commit/6b863e810d6decb689bff8f6620e8ea07b356d86
DIFF: 
https://github.com/llvm/llvm-project/commit/6b863e810d6decb689bff8f6620e8ea07b356d86.diff

LOG: [lldb-dap] Fix win32 build. (#135638)

This enum was not fully specified.

Added: 
    

Modified: 
    lldb/tools/lldb-dap/Transport.cpp

Removed: 
    


################################################################################
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) {


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to