diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2020-01-17 20:45:01 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2020-01-17 20:45:01 +0000 | 
| commit | 706b4fc47bbc608932d3b491ae19a3b9cde9497b (patch) | |
| tree | 4adf86a776049cbf7f69a1929c4babcbbef925eb /lldb/source/API/SBHostOS.cpp | |
| parent | 7cc9cf2bf09f069cb2dd947ead05d0b54301fb71 (diff) | |
Notes
Diffstat (limited to 'lldb/source/API/SBHostOS.cpp')
| -rw-r--r-- | lldb/source/API/SBHostOS.cpp | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/lldb/source/API/SBHostOS.cpp b/lldb/source/API/SBHostOS.cpp index c3c92e68140d4..6ac8717237e71 100644 --- a/lldb/source/API/SBHostOS.cpp +++ b/lldb/source/API/SBHostOS.cpp @@ -6,9 +6,10 @@  //  //===----------------------------------------------------------------------===// +#include "lldb/API/SBHostOS.h"  #include "SBReproducerPrivate.h"  #include "lldb/API/SBError.h" -#include "lldb/API/SBHostOS.h" +#include "lldb/Host/Config.h"  #include "lldb/Host/FileSystem.h"  #include "lldb/Host/Host.h"  #include "lldb/Host/HostInfo.h" @@ -18,7 +19,7 @@  #include "lldb/Utility/FileSpec.h"  #include "Plugins/ExpressionParser/Clang/ClangHost.h" -#ifndef LLDB_DISABLE_PYTHON +#if LLDB_ENABLE_PYTHON  #include "Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h"  #endif @@ -60,7 +61,7 @@ SBFileSpec SBHostOS::GetLLDBPath(lldb::PathType path_type) {      fspec = HostInfo::GetHeaderDir();      break;    case ePathTypePythonDir: -#ifndef LLDB_DISABLE_PYTHON +#if LLDB_ENABLE_PYTHON      fspec = ScriptInterpreterPython::GetPythonDir();  #endif      break;  | 
