From 62456e579eebe012e5a6ebcf9960aef9d7babf87 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 12 Dec 2019 09:22:34 -0800 Subject: [lldb/CMake] Rename LLDB_DISABLE_LIBEDIT to LLDB_ENABLE_LIBEDIT This matches the naming scheme used by LLVM. Differential revision: https://reviews.llvm.org/D71380 --- lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h index 4f25c46eefa..c0d39324e03 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h @@ -9,7 +9,7 @@ #ifndef LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONREADLINE_H #define LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONREADLINE_H -#if !defined(LLDB_DISABLE_LIBEDIT) && defined(__linux__) +#if LLDB_ENABLE_LIBEDIT && defined(__linux__) // NOTE: Since Python may define some pre-processor definitions which affect the // standard headers on some systems, you must include Python.h before any // standard headers are included. -- cgit v1.2.3