hurd: fix timer_routines.c build
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 26 Feb 2018 23:55:59 +0000 (00:55 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 26 Feb 2018 23:55:59 +0000 (00:55 +0100)
        * sysdeps/pthread/timer_routines.c: [!defined DELAYTIMER_MAX]
        (DELAYTIMER_MAX): Define to INT_MAX.

ChangeLog
sysdeps/pthread/timer_routines.c

index 98fb162..5ef9814 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
index 84861b9..940db62 100644 (file)
@@ -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