From 0c521d18750b0d1706ec61bae60c85fc364c13fa Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 3 Feb 2011 01:53:36 +0000 Subject: Check whether we are using setjmp/longjmp exceptions. From-SVN: r169777 --- libgo/runtime/go-unwind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgo/runtime/go-unwind.c') diff --git a/libgo/runtime/go-unwind.c b/libgo/runtime/go-unwind.c index cf586bb..c0fc59c 100644 --- a/libgo/runtime/go-unwind.c +++ b/libgo/runtime/go-unwind.c @@ -126,7 +126,7 @@ __go_check_defer (void *frame) hdr = (struct _Unwind_Exception *) __go_panic_defer->__exception; -#ifdef _GLIBCXX_SJLJ_EXCEPTIONS +#ifdef LIBGO_SJLJ_EXCEPTIONS _Unwind_SjLj_Resume_or_Rethrow (hdr); #else #if defined(_LIBUNWIND_STD_ABI) -- cgit v1.1