From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25320 invoked by alias); 31 Mar 2017 13:14:40 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 25284 invoked by uid 89); 31 Mar 2017 13:14:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.6 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy= X-HELO: mx0a-001b2d01.pphosted.com From: "Gabriel F. T. Gomes" To: schwab@linux-m68k.org Cc: libc-alpha@sourceware.org Subject: [PATCH] Fix condition for inclusion of math-finite.h for long double Date: Fri, 31 Mar 2017 13:14:00 -0000 In-Reply-To: <87d1cxudkc.fsf@linux-m68k.org> References: <87d1cxudkc.fsf@linux-m68k.org> X-TM-AS-MML: disable x-cbid: 17033113-0032-0000-0000-000005503AF4 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17033113-0033-0000-0000-000011D484E5 Message-Id: <1490966034-23473-1-git-send-email-gftg@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-03-31_11:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001 definitions=main-1703310121 X-SW-Source: 2017-03/txt/msg00716.txt.bz2 I accidentaly changed the condition for declaration of long double functions. Would the following patch fix arm builds? -- 8< -- The condition for declaration of long double functions in math-finite.h was #ifdef __MATH_DECLARE_LDOUBLE before the macroization of this file. After the macroization, it was incorreclty changed to #if __MATH_DECLARE_LDOUBLE, which broke the build for arm. 2017-03-30 Gabriel F. T. Gomes * math/math.h: Fix condition for inclusion of math-finite.h for long double. --- math/math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/math.h b/math/math.h index 0c19d45..cfaed0e 100644 --- a/math/math.h +++ b/math/math.h @@ -588,7 +588,7 @@ extern int matherr (struct exception *__exc); # undef _MSUF_ /* Include bits/math-finite.h for long double. */ -# if __MATH_DECLARE_LDOUBLE +# ifdef __MATH_DECLARE_LDOUBLE # define _Mdouble_ long double # define __MATH_DECLARING_DOUBLE 0 # define __MATH_DECLARING_LDOUBLE 1 -- 2.4.11