Handle ePathTypePythonDir even in the case of LLDB_DISABLE_PYTHON,

otherwise -Werror builds may fail.

llvm-svn: 191385
This commit is contained in:
Joerg Sonnenberger 2013-09-25 17:52:18 +00:00
parent 7278edc5b4
commit c75987637b
1 changed files with 5 additions and 2 deletions

View File

@ -1055,8 +1055,11 @@ Host::GetLLDBPath (PathType path_type, FileSpec &file_spec)
}
break;
#ifndef LLDB_DISABLE_PYTHON
case ePathTypePythonDir:
#ifdef LLDB_DISABLE_PYTHON
case ePathTypePythonDir:
return false;
#else
case ePathTypePythonDir:
{
static ConstString g_lldb_python_dir;
if (!g_lldb_python_dir)