From patchwork Wed Dec 26 23:05:22 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: 10743323 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 A68666C2 for ; Wed, 26 Dec 2018 23:05:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95A96283E7 for ; Wed, 26 Dec 2018 23:05:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A38D28481; Wed, 26 Dec 2018 23:05:59 +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 3AF12283E7 for ; Wed, 26 Dec 2018 23:05:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727218AbeLZXF6 (ORCPT ); Wed, 26 Dec 2018 18:05:58 -0500 Received: from sonic312-24.consmr.mail.bf2.yahoo.com ([74.6.128.86]:37941 "EHLO sonic312-24.consmr.mail.bf2.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726798AbeLZXF5 (ORCPT ); Wed, 26 Dec 2018 18:05:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s2048; t=1545865556; bh=QkjIuD26Pm9qNz2/fZxqtL/P4r36+Yk+uixs0aJZiPw=; h=From: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iuE4XHzmf9ocbNjZOz40fRnpejrl_kYCheSrsdNoOh7O.4UTJnv7B.Uci9RF fozhelVQ66aPf9QU3.NXhCDd4egI_aQ2Fe5lZnNevJ1VkbqSkFzeMaCB3wyuXf.04NYl1MHMeMu3 Op8py8gRZBh1ARvmqWKIhPw4NJBq2ZtiKMRoZudDCbgvaZYb2Bfk5Hs5667DSrphfHIqJGRjUrWg DsYTL0ZMBX6T5wngSefAANeTXyut3uGyQfM64ptfqqrhDA9ccJzfLbfFrKEVGU3Rkj1lLvM36Z.6 7VjnNClP0yq5VkxjSxdLU1JCECYUpfq2W93oGi.Flhf3pSFODlYBrgnK3ICKvK1mVGm9nYxauwaV j5kizocvJQ1bOTm4vMT4fm1VkqSfyAXL11x19lYDsb.hub15P.CKO5p5XObErlKwfuSNamoe1VYX TrAVriAXk6AFL1LdY5oI79JVXHYo- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.bf2.yahoo.com with HTTP; Wed, 26 Dec 2018 23:05:56 +0000 Received: from 99.229.179.249 (EHLO localhost.localdomain) ([99.229.179.249]) by smtp429.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 98f6f8df7851f5cc32b027b3d2c09fa1; Wed, 26 Dec 2018 23:05:51 +0000 (UTC) From: randall.s.becker@rogers.com To: git@vger.kernel.org Cc: "Randall S. Becker" Subject: [PATCH v1 3/4] git-compat-util.h: add FLOSS headers for HPE NonStop Date: Wed, 26 Dec 2018 18:05:22 -0500 Message-Id: <20181226230523.16572-4-randall.s.becker@rogers.com> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20181226230523.16572-1-randall.s.becker@rogers.com> References: <20181226230523.16572-1-randall.s.becker@rogers.com> 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 +#if !defined(_THREAD_SUPPORT_FUNCTIONS) && !defined(_PUT_MODEL_) +/* #include */ +/* #include */ +#endif +#include +#include +#if ! defined 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