From patchwork Fri Apr 1 22:49:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 64907 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp76964lbc; Fri, 1 Apr 2016 15:49:46 -0700 (PDT) X-Received: by 10.98.34.200 with SMTP id p69mr2054592pfj.114.1459550986745; Fri, 01 Apr 2016 15:49:46 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id zu5si23967243pac.175.2016.04.01.15.49.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Apr 2016 15:49:46 -0700 (PDT) Received-SPF: pass (google.com: domain of newlib-return-13423-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org; spf=pass (google.com: domain of newlib-return-13423-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-13423-patch=linaro.org@sourceware.org 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:subject:date:message-id; q=dns; s= default; b=b38b8KYTF01NSyGPob6+mDWMkSWwoZk/hipDFspA6PCSsl2FEGKiX 5lQj9+FDNQ83MFtGsLAQxqX7OGjHT6968ferOGXiXZg00advfrMgyJtPQZkOGhgs 3I/Th97LPbaaxr0VMPOzBh37Nmod4ke3RGImtSK5S8linORDpCOvFI= 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:subject:date:message-id; s=default; bh=2bSU1nk2/tBlI9ypHHPEIM/YJUQ=; b=kuZCo2zw1TpdRMwi4st1+6rLmVQQ +CS4nU7mYJk/hKWcLBlSOZ0GUph17HwXN2sr6nbGAi5RSkqEy4FhWlYqp9kwAd/E 2IlYVIHCUNXHO0VxlpDHHT89V9EeZVUbWGmZ1nzIBh+tU1SazxLb0P4oloLvw3Es Pjyor7otr+htquc= Received: (qmail 56220 invoked by alias); 1 Apr 2016 22:49:39 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 56209 invoked by uid 89); 1 Apr 2016 22:49:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 01 Apr 2016 22:49:37 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9C42C64464 for ; Fri, 1 Apr 2016 22:49:36 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-17.rdu2.redhat.com [10.10.116.17]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u31MnZxe009521 (version=TLSv1/SSLv3 cipher=AES256-SHA256 bits=256 verify=NO) for ; Fri, 1 Apr 2016 18:49:36 -0400 From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 1/2] math.h: declare isinfl, isnanl for Cygwin Date: Fri, 1 Apr 2016 17:49:29 -0500 Message-Id: <1459550970-3424-1-git-send-email-yselkowi@redhat.com> libstdc++ requires these to be declared in order to be enabled. Signed-off-by: Yaakov Selkowitz --- newlib/libc/include/math.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.4 diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index e5d6123..a69abe9 100644 --- a/newlib/libc/include/math.h +++ b/newlib/libc/include/math.h @@ -460,6 +460,8 @@ extern long double fmodl _PARAMS((long double, long double)); extern long double hypotl _PARAMS((long double, long double)); #endif /* ! defined (__math_68881) */ #endif /* ! defined (_REENT_ONLY) */ +extern int isnanl _PARAMS((long double)); +extern int isinfl _PARAMS((long double)); extern long double copysignl _PARAMS((long double, long double)); extern long double nanl _PARAMS((const char *)); extern int ilogbl _PARAMS((long double));