From cfa69b0bb23b69087b5619a76d52eba8743cbbb2 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 6 Feb 2015 12:29:50 -0800 Subject: Conditionalize some tests' use of SA_SIGINFO. --- debug/tst-backtrace6.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'debug') diff --git a/debug/tst-backtrace6.c b/debug/tst-backtrace6.c index eb5028ecc9..9c1ed751bd 100644 --- a/debug/tst-backtrace6.c +++ b/debug/tst-backtrace6.c @@ -17,5 +17,12 @@ License along with the GNU C Library; if not, see . */ -#define SIGACTION_FLAGS SA_SIGINFO -#include +#include + +#ifdef SA_SIGINFO +# define SIGACTION_FLAGS SA_SIGINFO +# include +#else +# define TEST_FUNCTION 0 +# include "../test-skeleton.c" +#endif -- cgit 1.4.1