]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - debug/tst-backtrace6.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / debug / tst-backtrace6.c
index eb5028ecc9222bbfdd6cca5eb5ab78773d091d3b..04290caf94ead621af75b7e18c287d7c349b310b 100644 (file)
@@ -1,6 +1,6 @@
 /* Test backtrace and backtrace_symbols for signal frames, where a
    system call was interrupted by a signal.
-   Copyright (C) 2013-2015 Free Software Foundation, Inc.
+   Copyright (C) 2013-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
    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