[Lldb-commits] [lldb] [lldb-dap] Implement `runInTerminal` for Windows (PR #121269)
Hu Jialun via lldb-commits
lldb-commits at lists.llvm.org
Sat Mar 1 01:29:49 PST 2025
================
@@ -1,11 +1,13 @@
#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h>
+
+#include <threads.h>
----------------
SuibianP wrote:
Turns out Apple does not yet support C11 `threads.h`.
https://github.com/llvm/llvm-project/blob/7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1/clang/lib/Basic/Targets/OSTargets.cpp#L61-L62
Changed test case to use C++11 `thread` which is supported.
https://github.com/llvm/llvm-project/pull/121269
More information about the lldb-commits
mailing list