summaryrefslogtreecommitdiff
path: root/nptl/tst-signal6.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-signal6.c')
-rw-r--r--nptl/tst-signal6.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/nptl/tst-signal6.c b/nptl/tst-signal6.c
index e2a56ef427..b98947a9e7 100644
--- a/nptl/tst-signal6.c
+++ b/nptl/tst-signal6.c
@@ -24,7 +24,9 @@
#include <unistd.h>
-#define N 2
+#ifdef SIGRTMIN
+
+# define N 2
static pthread_barrier_t bar;
static struct
{
@@ -187,5 +189,9 @@ do_test (void)
return 0;
}
-#define TEST_FUNCTION do_test ()
+# define TEST_FUNCTION do_test ()
+
+#else
+# define TEST_FUNCTION 0
+#endif
#include "../test-skeleton.c"