From f38a30861e2c2979a6417801c91ca652f2711959 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 6 Oct 2004 08:01:28 +0000 Subject: Update. * tst-clock1.c: Change #ifdef to #if defined. * tst-clock2.c: Likewise. * tst-cond11.c: Likewise. 2004-10-05 Jakub Jelinek --- nptl/ChangeLog | 6 ++++++ nptl/tst-clock1.c | 2 +- nptl/tst-clock2.c | 2 +- nptl/tst-cond11.c | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 1cbe0ee02b..0ddc0d0b08 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2004-10-05 Jakub Jelinek + + * tst-clock1.c: Change #ifdef to #if defined. + * tst-clock2.c: Likewise. + * tst-cond11.c: Likewise. + 2004-10-05 Jakub Jelinek * sysdeps/pthread/timer_create.c (timer_create): Use diff --git a/nptl/tst-clock1.c b/nptl/tst-clock1.c index cba197943a..0848d77019 100644 --- a/nptl/tst-clock1.c +++ b/nptl/tst-clock1.c @@ -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); diff --git a/nptl/tst-clock2.c b/nptl/tst-clock2.c index 2ea2a529aa..fd216b2ba1 100644 --- a/nptl/tst-clock2.c +++ b/nptl/tst-clock2.c @@ -25,7 +25,7 @@ #include -#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; diff --git a/nptl/tst-cond11.c b/nptl/tst-cond11.c index 90a3e15868..0de4d56137 100644 --- a/nptl/tst-cond11.c +++ b/nptl/tst-cond11.c @@ -24,7 +24,7 @@ #include -#ifdef _POSIX_CLOCK_SELECTION && _POSIX_CLOCK_SELECTION >= 0 +#if defined _POSIX_CLOCK_SELECTION && _POSIX_CLOCK_SELECTION >= 0 static int run_test (clockid_t cl) { -- cgit v1.2.3