summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectGUI.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-12-12 09:13:04 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2019-12-12 09:13:31 -0800
commita4304f96d6baba92baa9db1eef0ed647f76306f6 (patch)
tree887ffdd1ef5443b27f39555bce663c38f1b32381 /lldb/source/Commands/CommandObjectGUI.cpp
parent23bee0b0cf7a1af084ea06f2b7dfde1767837084 (diff)
downloadbcm5719-llvm-a4304f96d6baba92baa9db1eef0ed647f76306f6.tar.gz
bcm5719-llvm-a4304f96d6baba92baa9db1eef0ed647f76306f6.zip
[lldb/CMake] Rename LLDB_DISABLE_CURSES to LLDB_ENABLE_CURSES
This matches the naming scheme used by LLVM. Differential revision: https://reviews.llvm.org/D71377
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectGUI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectGUI.cpp b/lldb/source/Commands/CommandObjectGUI.cpp
index 0ee526e6ade..5edba33f8bd 100644
--- a/lldb/source/Commands/CommandObjectGUI.cpp
+++ b/lldb/source/Commands/CommandObjectGUI.cpp
@@ -26,7 +26,7 @@ CommandObjectGUI::CommandObjectGUI(CommandInterpreter &interpreter)
CommandObjectGUI::~CommandObjectGUI() {}
bool CommandObjectGUI::DoExecute(Args &args, CommandReturnObject &result) {
-#ifndef LLDB_DISABLE_CURSES
+#if LLDB_ENABLE_CURSES
if (args.GetArgumentCount() == 0) {
Debugger &debugger = GetDebugger();
OpenPOWER on IntegriCloud