From patchwork Thu Dec 27 15:58:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Randall S. Becker" X-Patchwork-Id: 10743837 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5D0666C5 for ; Thu, 27 Dec 2018 15:58:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 490572839C for ; Thu, 27 Dec 2018 15:58:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37983283C9; Thu, 27 Dec 2018 15:58:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D281C2839C for ; Thu, 27 Dec 2018 15:58:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728137AbeL0P6u (ORCPT ); Thu, 27 Dec 2018 10:58:50 -0500 Received: from sonic307-6.consmr.mail.bf2.yahoo.com ([74.6.134.45]:36389 "EHLO sonic307-6.consmr.mail.bf2.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727086AbeL0P6u (ORCPT ); Thu, 27 Dec 2018 10:58:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s2048; t=1545926329; bh=SPeupn2Q3Uq+Tsf30AHkAyzHx3Wyw2PRezoignksmI0=; h=From:To:Cc:Sub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Uam6il01pfBggCKq_zI_BphT.8w9qGFpD9 ryYCOPd6MfDWB7CAespSUrfpRjsP.Px3FNR422VpDcT2LaGsFq8h3bhYSShiPFHWBebOcK.OmH4P zsPDWJ.BdvN9gjKtcDSUqJG01O03.BeS22qQ908h1Z9QQWKswEyQQ4g9WP6O.Or8mJ_55iu9uY5I TYJ.JhY2GzJg_p2dE7Oh1bE7YFhzORav9DRjqSLYasHgYc26UJBoF1Q1bqFRn788O9785qgd8Fu0 .E0hH8jEcM98SvUfnNGaPr6vz85Xb_hwxWsPodmKQuZEXDqGOa6QtOJHPujY98JAgsr6pP8CmtW0 CZ7Ip9JcuYpbjuCtOqh_0AI96RWe7qhnsdaSZIQJjv.Tf.5PWTseStPIGJI848qGWw7lvyJO9sqI XHLoA7NUgwM43vNJnhAsMvGf1zifyUUyM Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.bf2.yahoo.com with HTTP; Thu, 27 Dec 2018 15:58:49 +0000 Received: from 99.229.179.249 (EHLO localhost.localdomain) ([99.229.179.249]) by smtp413.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 38273046f8eba034b8388e4413b9797a; Thu, 27 Dec 2018 15:58:45 +0000 (UTC) From: randall.s.becker@rogers.com To: git@vger.kernel.org Cc: "Randall S. Becker" Subject: [PATCH v2 3/4] git-compat-util.h: add FLOSS headers for HPE NonStop Date: Thu, 27 Dec 2018 10:58:24 -0500 Message-Id: <20181227155824.12232-1-randall.s.becker@rogers.com> X-Mailer: git-send-email 2.12.3 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: "Randall S. Becker" The HPE NonStop (a.k.a. __TANDEM) platform cannot build git without using the FLOSS package supplied by HPE. The convenient location for including the relevant headers is in this file. The NSIG define is also not defined on __TANDEM, so we define it here as 100 if it is not defined only for __TANDEM builds. Signed-off-by: Randall S. Becker --- git-compat-util.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/git-compat-util.h b/git-compat-util.h index 09b0102cae..3f615f7ed8 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -397,6 +397,21 @@ static inline char *git_find_last_dir_sep(const char *path) #define query_user_email() NULL #endif +#ifdef __TANDEM +#include +#include +#ifndef NSIG +/* NonStop NSE and NSX do not provide NSIG. SIGGUARDIAN(99) is the highest + known, by detective work using kill -l as a list is all signals + instead of signal.h where it should be. */ +# define NSIG 100 +#endif +#endif + #if defined(__HP_cc) && (__HP_cc >= 61000) #define NORETURN __attribute__((noreturn)) #define NORETURN_PTR -- 2.17.0.10.gb132f7033