atdalīts no xt-sys/xtchain
Fix WaitForSingleObject() argument type on MinGW
Šī revīzija ir iekļauta:
13
patches/llvm/21.1.1/01-Fix-WaitForSingleObject-cast-on-MinGW.patch
Parasts fails
13
patches/llvm/21.1.1/01-Fix-WaitForSingleObject-cast-on-MinGW.patch
Parasts fails
@@ -0,0 +1,13 @@
|
||||
diff --git a/lldb/source/Host/windows/MainLoopWindows.cpp b/lldb/source/Host/windows/MainLoopWindows.cpp
|
||||
index c0b10797e..e971b8cfd 100644
|
||||
--- a/lldb/source/Host/windows/MainLoopWindows.cpp
|
||||
+++ b/lldb/source/Host/windows/MainLoopWindows.cpp
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
// Keep trying to cancel ReadFile() until the thread exits.
|
||||
do {
|
||||
CancelIoEx(m_handle, /*lpOverlapped=*/NULL);
|
||||
- } while (WaitForSingleObject(m_monitor_thread.native_handle(), 1) ==
|
||||
+ } while (WaitForSingleObject((HANDLE)m_monitor_thread.native_handle(), 1) ==
|
||||
WAIT_TIMEOUT);
|
||||
m_monitor_thread.join();
|
||||
}
|
Atsaukties uz šo jaunā problēmā
Block a user