summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/FormatManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/FormatManager.cpp')
-rw-r--r--lldb/source/Core/FormatManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Core/FormatManager.cpp b/lldb/source/Core/FormatManager.cpp
index 2369514da35..84d26cf0c3e 100644
--- a/lldb/source/Core/FormatManager.cpp
+++ b/lldb/source/Core/FormatManager.cpp
@@ -696,6 +696,7 @@ AddSummary(TypeCategoryImpl::SharedPointer category_sp,
summary_sp);
}
+#ifndef LLDB_DISABLE_PYTHON
static void
AddScriptSummary(TypeCategoryImpl::SharedPointer category_sp,
const char* funct_name,
@@ -712,7 +713,7 @@ AddScriptSummary(TypeCategoryImpl::SharedPointer category_sp,
category_sp->GetSummaryNavigator()->Add(type_name,
summary_sp);
}
-
+#endif
#ifndef LLDB_DISABLE_PYTHON
void
OpenPOWER on IntegriCloud