From 59998b7b7f12c867062a4b61579511ad6c0ca144 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 10 Dec 2019 08:54:30 -0800 Subject: [lldb/Host] Use Host/Config.h entries instead of a global define. As suggested by Pavel in a code review: > Can we replace this (and maybe python too, while at it) with a > Host/Config.h entry? A global definition means that one has to > recompile everything when these change in any way, whereas in > practice only a handful of files need this.. Differential revision: https://reviews.llvm.org/D71280 --- lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h index 9ae4a03..88f6975 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h @@ -9,6 +9,8 @@ #ifndef LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_SCRIPTINTERPRETERPYTHON_H #define LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_SCRIPTINTERPRETERPYTHON_H +#include "lldb/Host/Config.h" + #ifdef LLDB_DISABLE_PYTHON // Python is disabled in this build -- cgit v1.1