[Lldb-commits] [lldb] [lldb] Fix pid_t redefinition on Windows in ScriptInterpreterPythonInterfaces (PR #181493)

via lldb-commits lldb-commits at lists.llvm.org
Sat Feb 14 10:56:04 PST 2026


================
@@ -11,6 +11,10 @@
 
 #if LLDB_ENABLE_PYTHON
 
+// Include lldb-python.h first to define NO_PID_T on Windows before any
+// LLDB header transitively pulls in PosixApi.h.
+#include "../lldb-python.h"
----------------
rchamala wrote:

Sure, updated in https://github.com/llvm/llvm-project/pull/181498

https://github.com/llvm/llvm-project/pull/181493


More information about the lldb-commits mailing list