* [PATCH] Fix 3 NPTL testcases
@ 2004-10-05 17:47 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2004-10-05 17:47 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Glibc hackers
Hi!
2004-10-05 Jakub Jelinek <jakub@redhat.com>
* tst-clock1.c: Change #ifdef to #if defined.
* tst-clock2.c: Likewise.
* tst-cond11.c: Likewise.
--- libc/nptl/tst-clock1.c.jj 2004-10-05 09:04:45.000000000 +0200
+++ libc/nptl/tst-clock1.c 2004-10-05 19:45:32.300366959 +0200
@@ -27,7 +27,7 @@
int
do_test (void)
{
-#ifdef _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0
+#if defined _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0
clockid_t cl;
/* This is really only a linking-test here. */
int e = pthread_getcpuclockid (pthread_self (), &cl);
--- libc/nptl/tst-cond11.c.jj 2004-10-05 09:04:45.000000000 +0200
+++ libc/nptl/tst-cond11.c 2004-10-05 19:46:08.952869926 +0200
@@ -24,7 +24,7 @@
#include <unistd.h>
-#ifdef _POSIX_CLOCK_SELECTION && _POSIX_CLOCK_SELECTION >= 0
+#if defined _POSIX_CLOCK_SELECTION && _POSIX_CLOCK_SELECTION >= 0
static int
run_test (clockid_t cl)
{
--- libc/nptl/tst-clock2.c.jj 2004-10-05 09:04:45.000000000 +0200
+++ libc/nptl/tst-clock2.c 2004-10-05 19:45:45.224076121 +0200
@@ -25,7 +25,7 @@
#include <unistd.h>
-#ifdef _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0
+#if defined _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0
static pthread_barrier_t b2;
static pthread_barrier_t bN;
Jakub
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-05 17:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-05 17:47 [PATCH] Fix 3 NPTL testcases Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).