summaryrefslogtreecommitdiff
path: root/test/nptl/tst-cond9.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nptl/tst-cond9.c')
-rw-r--r--test/nptl/tst-cond9.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/nptl/tst-cond9.c b/test/nptl/tst-cond9.c
index dcb597d..31a6cb2 100644
--- a/test/nptl/tst-cond9.c
+++ b/test/nptl/tst-cond9.c
@@ -24,6 +24,7 @@
#include <sys/time.h>
+#if defined(__GLIBC__) || defined(__UCLIBC__)
static pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
static pthread_mutex_t mut = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP;
@@ -68,11 +69,12 @@ tf (void *arg)
return (void *) 1l;
}
-
+#endif
static int
do_test (void)
{
+#if defined(__GLIBC__) || defined(__UCLIBC__)
pthread_t th;
int err;
@@ -142,6 +144,9 @@ do_test (void)
puts ("done");
return 0;
+#else
+ return 23;
+#endif
}