[lldb/Plugins] Fix build failure on windows following 2914a4b888
This patch tries to fix the following build failure on windows:
https://lab.llvm.org/buildbot/#/builders/141/builds/1083
This started happening following 2914a4b888, and it seems to be caused
by some special `#include` ordering for the lldb-python header on Windows.
Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
This commit is contained in:
1 parent
5909979869
commit
c1d1a752ce
6 files changed
+49
-10
No files matched your search
+7
@@ -9,6 +9,13 @@
|
||||
#ifndef LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_INTERFACES_SCRIPTEDTHREADPYTHONINTERFACE_H
|
||||
#define LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_INTERFACES_SCRIPTEDTHREADPYTHONINTERFACE_H
|
||||
|
||||
#if LLDB_ENABLE_PYTHON
|
||||
// clang-format off
|
||||
// LLDB Python header must be included first
|
||||
#include "../lldb-python.h"
|
||||
//clang-format on
|
||||
#endif
|
||||
|
||||
#include "lldb/Host/Config.h"
|
||||
|
||||
#if LLDB_ENABLE_PYTHON
|
||||
|
||||
Reference in new issue
Block a user