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: 878228 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-90646-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="upoqFXT0"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zqzJt0QBsz9s0R for ; Tue, 27 Feb 2018 10:57:17 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=np4Wo8xntDkxMfj6Z5gC+/thKd69g2hYafkfUhFcFTItl0ImFbQKb 1ZcWn2uxDS8y/MEfr5uJ3E6AKfGZmDpCiQTiGanLsCtgLHuFrxWLWnMNNKt3Via8 ohNKL79ZiFYuSmRzaGTurGdt0uwBgy9rAMIGA/wYpkPefhjSFgrlug= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; s=default; bh=TPRu1TDxtPHP3gqeHtrtpWtuZVI=; b=upoqFXT05C++hioqnCuP2Ty/S2tG VL+FmAXjIr76GtrpxZnCRAhML0+be+8BGTnj3eEDlvVo2Z2jdnkKTa5/3HeDwARA P81OX/vNjVrxIKik20qn8BvdidJ5pOIz0YVsUkFwF30nj29kvYqhV+egDpXAd+P2 giDgIuG3++qyl3g= 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