mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 22:10:13 +00:00
Update.
* tst-clock1.c: Change #ifdef to #if defined. * tst-clock2.c: Likewise. * tst-cond11.c: Likewise. 2004-10-05 Jakub Jelinek <jakub@redhat.com>
This commit is contained in:
parent
b85a0f39b7
commit
f38a30861e
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user