From a05fe1907110a339405d369b6824a4afd35ed9dd Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 22 Dec 2011 19:07:12 +0000 Subject: [PATCH] runtime: Fix missing USING_SPLIT_STACK ifdef. From Uros Bizjak. From-SVN: r182633 --- libgo/runtime/go-signal.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libgo/runtime/go-signal.c b/libgo/runtime/go-signal.c index e5a790aae52..fd48f4ba659 100644 --- a/libgo/runtime/go-signal.c +++ b/libgo/runtime/go-signal.c @@ -346,7 +346,11 @@ sig_tramp (int sig) mp = runtime_m (); if (gp != NULL) - __splitstack_getcontext (&gp->stack_context[0]); + { +#ifdef USING_SPLIT_STACK + __splitstack_getcontext (&gp->stack_context[0]); +#endif + } if (gp != NULL && mp->gsignal != NULL) { -- 2.30.2