Skip to content

Commit f50a26b

Browse files
[lldb][windows] fix undeclared identifier error
1 parent bedc0bf commit f50a26b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/tools/driver/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ SBError Driver::ProcessArgs(const opt::InputArgList &args, bool &exiting) {
444444
return error;
445445
}
446446

447-
#ifdef _WIN32
447+
#if defined(_WIN32) && defined(LLDB_PYTHON_DLL_RELATIVE_PATH)
448448
/// Returns the full path to the lldb.exe executable.
449449
inline std::wstring GetPathToExecutableW() {
450450
// Iterate until we reach the Windows API maximum path length (32,767).

0 commit comments

Comments
 (0)