Skip to content

Commit f08a918

Browse files
[lldb][windows] fix undeclared identifier error
1 parent 8bd7d92 commit f08a918

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
@@ -430,7 +430,7 @@ SBError Driver::ProcessArgs(const opt::InputArgList &args, bool &exiting) {
430430
return error;
431431
}
432432

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

0 commit comments

Comments
 (0)