* tst-clock1.c: Change #ifdef to #if defined.
* tst-clock2.c: Likewise.
* tst-cond11.c: Likewise.
2004-10-05 Jakub Jelinek <jakub@redhat.com>
2004-10-05 Jakub Jelinek <jakub@redhat.com>
+ * tst-clock1.c: Change #ifdef to #if defined.
+ * tst-clock2.c: Likewise.
+ * tst-cond11.c: Likewise.
+
+2004-10-05 Jakub Jelinek <jakub@redhat.com>
+
* sysdeps/pthread/timer_create.c (timer_create): Use
defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 instead of
defined CLOCK_PROCESS_CPUTIME_ID #ifs and similarly for
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);
#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;
#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)
{