summaryrefslogtreecommitdiff
path: root/libgo/runtime
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2015-05-16 00:17:46 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2015-05-16 00:17:46 +0000
commit80171b4b41797a5836bde888c1cd388a8b094394 (patch)
treeab9c0755de18cdb179f09dfcca957f3c95db90bc /libgo/runtime
parent2ff86c8c06ba94c06da52ff1ac80b9a31fc5645c (diff)
downloadgcc-80171b4b41797a5836bde888c1cd388a8b094394.tar.gz
libgo: Use __USING_SJLJ_EXCEPTIONS__ rather than configure test.
From Eric Botcazou. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223231 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/runtime')
-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 849256b631f..87d9eb3ef4e 100644
--- a/libgo/runtime/go-unwind.c
+++ b/libgo/runtime/go-unwind.c
@@ -141,7 +141,7 @@ __go_check_defer (_Bool *frame)
hdr = (struct _Unwind_Exception *) g->exception;
-#ifdef LIBGO_SJLJ_EXCEPTIONS
+#ifdef __USING_SJLJ_EXCEPTIONS__
_Unwind_SjLj_Resume_or_Rethrow (hdr);
#else
#if defined(_LIBUNWIND_STD_ABI)