We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37cf46e commit 2f7a6f1Copy full SHA for 2f7a6f1
lldb/tools/driver/Driver.cpp
@@ -30,10 +30,13 @@
30
#include "llvm/Support/InitLLVM.h"
31
#include "llvm/Support/Path.h"
32
#include "llvm/Support/Signals.h"
33
-#include "llvm/Support/Windows/WindowsSupport.h"
34
#include "llvm/Support/WithColor.h"
35
#include "llvm/Support/raw_ostream.h"
36
+#if _WIN32
37
+#include "llvm/Support/Windows/WindowsSupport.h"
38
+#endif
39
+
40
#include <algorithm>
41
#include <atomic>
42
#include <bitset>
@@ -773,7 +776,7 @@ int main(int argc, char const *argv[]) {
773
776
"~/Library/Logs/DiagnosticReports/.\n");
774
777
#endif
775
778
-#ifdef _WIN32
779
+#if defined(_WIN32) && defined(LLDB_PYTHON_DLL_RELATIVE_PATH)
780
AddPythonDLLToSearchPath();
781
782
0 commit comments