Apple specific change from Kirk Beitz.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124941 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp b/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
index d3676f0..9467801 100644
--- a/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
+++ b/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
@@ -23,9 +23,12 @@
#include "ProcessGDBRemote.h"
#include "ProcessGDBRemoteLog.h"
#include "Utility/StringExtractorGDBRemote.h"
-#include "UnwindMacOSXFrameBackchain.h"
#include "UnwindLLDB.h"
+#ifdef __APPLE__
+#include "UnwindMacOSXFrameBackchain.h"
+#endif
+
using namespace lldb;
using namespace lldb_private;
@@ -138,10 +141,12 @@
{
m_unwinder_ap.reset (new UnwindLLDB (*this));
}
+#ifdef __APPLE__
else
{
m_unwinder_ap.reset (new UnwindMacOSXFrameBackchain (*this));
}
+#endif
}
return m_unwinder_ap.get();
}