[Lldb-commits] [lldb] f441313 - [lldb/ScriptInterpreter] Fix Windows error C2371: 'pid_t': redefinition

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 25 17:15:37 PDT 2020


Author: Jonas Devlieghere
Date: 2020-06-25T17:15:29-07:00
New Revision: f441313464b2eef94a41c60bfde31a2bf9c602d7

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

LOG: [lldb/ScriptInterpreter] Fix Windows error C2371: 'pid_t': redefinition

pyconfig.h(194): error C2371: 'pid_t': redefinition; different basic types
PosixApi.h(82): note: see declaration of 'pid_t'

Added: 
    

Modified: 
    lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
index 78234612500b..f661835d191b 100644
--- a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
+++ b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
@@ -8,9 +8,10 @@
 
 #include "gtest/gtest.h"
 
+#include "Plugins/ScriptInterpreter/Python/lldb-python.h"
+
 #include "Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h"
 #include "Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h"
-#include "Plugins/ScriptInterpreter/Python/lldb-python.h"
 #include "lldb/Host/FileSystem.h"
 #include "lldb/Host/HostInfo.h"
 


        


More information about the lldb-commits mailing list