(CPUCLOCK_P): Fix definition.

This commit is contained in:
Ulrich Drepper 2003-05-17 02:52:07 +00:00
parent 1eefffb0e7
commit a5ff61042d

View File

@ -25,15 +25,15 @@
#if HP_TIMING_AVAIL
# define CPUCLOCK_P(clock) \
((clock) != CLOCK_PROCESS_CPUTIME_ID \
&& (clock) != CLOCK_THREAD_CPUTIME_ID)
((clock) == CLOCK_PROCESS_CPUTIME_ID \
|| (clock) == CLOCK_THREAD_CPUTIME_ID)
#else
# define CPUCLOCK_P(clock) 0
#endif
#ifndef INVALID_CLOCK_P
# define INVALID_CLOCK_P(cl) \
((cl) < CLOCK_REALTIME || (cl) > CLOCK_THREAD_CPUTIME_ID || CPUCLOCK_P (cl))
((cl) < CLOCK_REALTIME || (cl) > CLOCK_THREAD_CPUTIME_ID)
#endif