about summary refs log tree commit diff
path: root/nptl/tst-signal6.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-03-04 15:14:56 -0800
committerRoland McGrath <roland@hack.frob.com>2015-03-04 15:14:56 -0800
commit2cfe32bc05b11b0dc633cd04f48f47734faf2399 (patch)
tree34b736b8344a6ceec8eeae0773d288ffa1b78c92 /nptl/tst-signal6.c
parente27176eea8aa74400204be4d3400e9723169fcaf (diff)
downloadglibc-2cfe32bc05b11b0dc633cd04f48f47734faf2399.tar.gz
glibc-2cfe32bc05b11b0dc633cd04f48f47734faf2399.tar.xz
glibc-2cfe32bc05b11b0dc633cd04f48f47734faf2399.zip
Conditionalize some test code for SIGRTMIN, SA_SIGINFO.
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"