summaryrefslogtreecommitdiff
path: root/libgo/runtime/go-unwind.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2011-02-03 01:53:36 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-02-03 01:53:36 +0000
commit0c521d18750b0d1706ec61bae60c85fc364c13fa (patch)
tree4c14f86ce89f5533332a96c295ccd2adc1ed0f59 /libgo/runtime/go-unwind.c
parent28fc3eee79d92a367a179ef4e7fa5d8ed134fe61 (diff)
downloadgcc-0c521d18750b0d1706ec61bae60c85fc364c13fa.tar.gz
Check whether we are using setjmp/longjmp exceptions.
From-SVN: r169777
Diffstat (limited to 'libgo/runtime/go-unwind.c')
-rw-r--r--libgo/runtime/go-unwind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/go-unwind.c b/libgo/runtime/go-unwind.c
index cf586bbdbde..c0fc59cef84 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)