diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2004-10-01 03:46:39 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-09-30 20:46:39 -0700 |
commit | 049bc4044531a146d278dd63ff0ad226c239424c (patch) | |
tree | 3e3bcca19e5054e4df68cedcfb17b544f287f58d /libobjc/exception.c | |
parent | bd042dbb63f5c616041474fcbc268598dfb6d5e5 (diff) | |
download | gcc-049bc4044531a146d278dd63ff0ad226c239424c.zip gcc-049bc4044531a146d278dd63ff0ad226c239424c.tar.gz gcc-049bc4044531a146d278dd63ff0ad226c239424c.tar.bz2 |
re PR libobjc/16448 (FAIL: objc/execute/IMP.m compilation, -O0)
2004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
PR libobjc/16448
* exception.c: Include config.h
(objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
SJLJ_EXCEPTIONS.
* configure.ac: Find out what exception handling code we use.
* configure: Regenerate.
* config.h.in: New file, regenerate.
From-SVN: r88379
Diffstat (limited to 'libobjc/exception.c')
-rw-r--r-- | libobjc/exception.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libobjc/exception.c b/libobjc/exception.c index d788c41..cfce70c 100644 --- a/libobjc/exception.c +++ b/libobjc/exception.c @@ -25,6 +25,7 @@ Boston, MA 02111-1307, USA. */ executable file might be covered by the GNU General Public License. */ #include <stdlib.h> +#include "config.h" #include "objc/objc-api.h" #include "unwind.h" #include "unwind-pe.h" @@ -356,7 +357,7 @@ objc_exception_throw (id value) header->base.exception_cleanup = __objc_exception_cleanup; header->value = value; -#ifdef _GLIBCXX_SJLJ_EXCEPTIONS +#ifdef SJLJ_EXCEPTIONS _Unwind_SjLj_RaiseException (&header->base); #else _Unwind_RaiseException (&header->base); |