From patchwork Mon Feb 26 23:57:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 26099 Received: (qmail 32516 invoked by alias); 26 Feb 2018 23:57:12 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 32469 invoked by uid 89); 26 Feb 2018 23:57:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL, URIBL_RED autolearn=ham version=3.3.2 spammy=H*r:sk:static-, Hx-spam-relays-external:sk:static-, H*RU:sk:static- X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited] hurd: fix timer_routines.c build Date: Tue, 27 Feb 2018 00:57:06 +0100 Message-Id: <20180226235706.18031-1-samuel.thibault@ens-lyon.org> * sysdeps/pthread/timer_routines.c: [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX. --- ChangeLog | 1 + sysdeps/pthread/timer_routines.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 98fb162882..5ef9814516 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * sysdeps/pthread/timer_routines.c: Include instead of (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 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 +#ifndef DELAYTIMER_MAX +# define DELAYTIMER_MAX INT_MAX +#endif /* Number of threads used. */ #define THREAD_MAXNODES 16