Skip to content

Commit f8a6917

Browse files
[lldb][windows] fix undeclared identifier error
1 parent 9380c15 commit f8a6917

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
@@ -443,7 +443,7 @@ SBError Driver::ProcessArgs(const opt::InputArgList &args, bool &exiting) {
443443
return error;
444444
}
445445

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

0 commit comments

Comments
 (0)