@@ -44,10 +44,18 @@ # if defined(OBJC_ZEROCOST_EXCEPTIONS) && !defined(__ARMEL__) # define HAVE_DWARF_EXCEPTIONS # endif #endif +/* + * Define HAVE_DWARF_EXCEPTIONS if HAVE_SEH_EXCEPTIONS is defined, as SEH + * exceptions are implemented as a wrapper around DWARF exceptions. + */ +#ifdef HAVE_SEH_EXCEPTIONS +# define HAVE_DWARF_EXCEPTIONS +#endif + #ifdef HAVE_DWARF_EXCEPTIONS struct _Unwind_Context; typedef enum { _URC_OK = 0, _URC_END_OF_STACK = 5