about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nptl/ChangeLog6
-rw-r--r--nptl/tst-clock1.c2
-rw-r--r--nptl/tst-clock2.c2
-rw-r--r--nptl/tst-cond11.c2
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,5 +1,11 @@
 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
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 <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;
 
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 <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)
 {