diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-02-27 00:55:59 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-02-27 00:55:59 +0100 |
commit | eb937a52856857e7ecb1fadb565c3fc9775ed60e (patch) | |
tree | 3761ac2be7f7d051271074bde5776171a033a030 | |
parent | 03b540b3680122bbe19943b7afaf7d1fb1aa7a48 (diff) | |
download | glibc-eb937a52856857e7ecb1fadb565c3fc9775ed60e.zip glibc-eb937a52856857e7ecb1fadb565c3fc9775ed60e.tar.gz glibc-eb937a52856857e7ecb1fadb565c3fc9775ed60e.tar.bz2 |
hurd: fix timer_routines.c build
* sysdeps/pthread/timer_routines.c: [!defined DELAYTIMER_MAX]
(DELAYTIMER_MAX): Define to INT_MAX.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | sysdeps/pthread/timer_routines.c | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -3,6 +3,7 @@ * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead of <nptl/pthreadP.h> (thread_attr_compare): Move function to... + [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX. * sysdeps/nptl/timer_routines.h: ... new header. 2018-02-26 Joseph Myers <joseph@codesourcery.com> diff --git a/sysdeps/pthread/timer_routines.c b/sysdeps/pthread/timer_routines.c index 84861b9..940db62 100644 --- a/sysdeps/pthread/timer_routines.c +++ b/sysdeps/pthread/timer_routines.c @@ -31,6 +31,9 @@ #include "posix-timer.h" #include <internaltypes.h> +#ifndef DELAYTIMER_MAX +# define DELAYTIMER_MAX INT_MAX +#endif /* Number of threads used. */ #define THREAD_MAXNODES 16 |