summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-08-03 18:55:26 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-08-03 18:55:26 +0000
commitf044a1e7887f44cba406b54aa32b7b8b92cc0cb8 (patch)
tree33c588f18ca8f71a4d7fb072c616a8c1596c8621 /lldb/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp
parentc5a136103b1c3e28d4c332e4a9b7068d70ab92c7 (diff)
downloadbcm5719-llvm-f044a1e7887f44cba406b54aa32b7b8b92cc0cb8.tar.gz
bcm5719-llvm-f044a1e7887f44cba406b54aa32b7b8b92cc0cb8.zip
Patch from David Forsythe for FreeBSD build!
llvm-svn: 136800
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp')
-rw-r--r--lldb/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp
index 62b50956678..3d6c9a6baca 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#if defined(__APPLE__)
// C Includes
#include <mach/thread_act.h>
@@ -68,4 +69,4 @@ RegisterContextMach_i386::DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &ex
return ::thread_set_state(tid, flavor, (thread_state_t)&exc, EXCWordCount);
}
-
+#endif
OpenPOWER on IntegriCloud