diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-01 03:46:39 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-01 03:46:39 +0000 |
commit | e7d4d902e645fd90b252fa5767999f46b0d186a8 (patch) | |
tree | 3e3bcca19e5054e4df68cedcfb17b544f287f58d /libobjc/exception.c | |
parent | 2c84ee37e873a1c01377aec424914cf3446063ab (diff) | |
download | gcc-e7d4d902e645fd90b252fa5767999f46b0d186a8.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88379 138bc75d-0d04-0410-961f-82ee72b054a4
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 d788c412ace..cfce70c51e3 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); |