summaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-02-06 12:29:50 -0800
committerRoland McGrath <roland@hack.frob.com>2015-02-06 12:29:50 -0800
commitcfa69b0bb23b69087b5619a76d52eba8743cbbb2 (patch)
tree832e3f9c2cf14a4d6805ee7c1bcd07adb7f5caed /debug
parent827278060826e62e5f30d9f39f745e075669dc26 (diff)
Conditionalize some tests' use of SA_SIGINFO.
Diffstat (limited to 'debug')
-rw-r--r--debug/tst-backtrace6.c11
1 files changed, 9 insertions, 2 deletions
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
<http://www.gnu.org/licenses/>. */
-#define SIGACTION_FLAGS SA_SIGINFO
-#include <debug/tst-backtrace5.c>
+#include <signal.h>
+
+#ifdef SA_SIGINFO
+# define SIGACTION_FLAGS SA_SIGINFO
+# include <debug/tst-backtrace5.c>
+#else
+# define TEST_FUNCTION 0
+# include "../test-skeleton.c"
+#endif