diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-08-03 18:55:26 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-08-03 18:55:26 +0000 |
commit | f044a1e7887f44cba406b54aa32b7b8b92cc0cb8 (patch) | |
tree | 33c588f18ca8f71a4d7fb072c616a8c1596c8621 /lldb/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp | |
parent | c5a136103b1c3e28d4c332e4a9b7068d70ab92c7 (diff) | |
download | bcm5719-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.cpp | 3 |
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 |