about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-02-27 00:55:59 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-02-27 00:55:59 +0100
commiteb937a52856857e7ecb1fadb565c3fc9775ed60e (patch)
tree3761ac2be7f7d051271074bde5776171a033a030 /sysdeps
parent03b540b3680122bbe19943b7afaf7d1fb1aa7a48 (diff)
downloadglibc-eb937a52856857e7ecb1fadb565c3fc9775ed60e.tar.gz
glibc-eb937a52856857e7ecb1fadb565c3fc9775ed60e.tar.xz
glibc-eb937a52856857e7ecb1fadb565c3fc9775ed60e.zip
hurd: fix timer_routines.c build
        * sysdeps/pthread/timer_routines.c: [!defined DELAYTIMER_MAX]
        (DELAYTIMER_MAX): Define to INT_MAX.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/pthread/timer_routines.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/pthread/timer_routines.c b/sysdeps/pthread/timer_routines.c
index 84861b9557..940db62b25 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