diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/unwind.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/unwind.h b/include/unwind.h index 20634ae..673e060 100644 --- a/include/unwind.h +++ b/include/unwind.h @@ -101,7 +101,7 @@ extern void _Unwind_SetIP(struct _Unwind_Context *, uintptr_t new_value); extern uintptr_t _Unwind_GetRegionStart(struct _Unwind_Context *context); extern uintptr_t _Unwind_GetLanguageSpecificData(struct _Unwind_Context *context); -#if __arm__ +#if __USING_SJLJ_EXCEPTIONS__ extern _Unwind_Reason_Code _Unwind_SjLj_ForcedUnwind(struct _Unwind_Exception *exception_object, _Unwind_Stop_Fn stop, void *stop_parameter); @@ -111,7 +111,7 @@ extern _Unwind_Reason_Code _Unwind_Stop_Fn stop, void *stop_parameter); #endif -#if __arm__ +#if __USING_SJLJ_EXCEPTIONS__ typedef struct _Unwind_FunctionContext *_Unwind_FunctionContext_t; extern void _Unwind_SjLj_Register(_Unwind_FunctionContext_t fc); extern void _Unwind_SjLj_Unregister(_Unwind_FunctionContext_t fc); @@ -124,7 +124,7 @@ extern void _Unwind_SjLj_Unregister(_Unwind_FunctionContext_t fc); // // called by __cxa_rethrow(). // -#if __arm__ +#if __USING_SJLJ_EXCEPTIONS__ extern _Unwind_Reason_Code _Unwind_SjLj_Resume_or_Rethrow(struct _Unwind_Exception *exception_object); #else |