aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/go-unwind.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2015-05-16 00:17:46 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2015-05-16 00:17:46 +0000
commit5ea73ae3b8b3df5d0b015df5536c9fe4875c8a4f (patch)
treeab9c0755de18cdb179f09dfcca957f3c95db90bc /libgo/runtime/go-unwind.c
parentf03f953f58e91f6732a713e6fd541b54d7713cd2 (diff)
downloadgcc-5ea73ae3b8b3df5d0b015df5536c9fe4875c8a4f.zip
gcc-5ea73ae3b8b3df5d0b015df5536c9fe4875c8a4f.tar.gz
gcc-5ea73ae3b8b3df5d0b015df5536c9fe4875c8a4f.tar.bz2
libgo: Use __USING_SJLJ_EXCEPTIONS__ rather than configure test.
From Eric Botcazou. From-SVN: r223231
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 849256b..87d9eb3 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)