diff options
author | Dan Albert <danalbert@google.com> | 2014-04-23 04:45:42 +0000 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-04-23 04:45:42 +0000 |
commit | 674e99db596c1cd16864bb6d3de05d39eeb932cd (patch) | |
tree | bba2bc14bed918f12ccd245356f0f03a62a5e1e9 /include | |
parent | 6daf050b4a21b29ccd00b93549cb45d6db2968ad (diff) |
Fixes incorrect #ifs for SJ/LJ exceptions
The was working because, given __APPLE__, _LIBUNWIND_BUILD_SJLJ_APIS was set to
__arm__, but other ARM targets not using SJ/LJ will fail to compile.
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@206941 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/unwind.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unwind.h b/include/unwind.h index c5acd93..20634ae 100644 --- a/include/unwind.h +++ b/include/unwind.h @@ -83,7 +83,7 @@ extern "C" { // // The following are the base functions documented by the C++ ABI // -#if __arm__ +#if __USING_SJLJ_EXCEPTIONS__ extern _Unwind_Reason_Code _Unwind_SjLj_RaiseException(struct _Unwind_Exception *exception_object); extern void _Unwind_SjLj_Resume(struct _Unwind_Exception *exception_object); |