aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-signal1.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-signal1.c')
-rw-r--r--nptl/tst-signal1.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/nptl/tst-signal1.c b/nptl/tst-signal1.c
index e7480f5..ad4b787 100644
--- a/nptl/tst-signal1.c
+++ b/nptl/tst-signal1.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -94,6 +94,13 @@ receiver (void)
static int
do_test (void)
{
+#if ! _POSIX_THREAD_PROCESS_SHARED
+
+ puts ("_POSIX_THREAD_PROCESS_SHARED not supported, test skipped");
+ return 0;
+
+#else
+
char tmp[] = "/tmp/tst-signal1-XXXXXX";
int fd = mkstemp (tmp);
@@ -183,6 +190,7 @@ do_test (void)
}
return 0;
+#endif
}
#define TEST_FUNCTION do_test ()