From patchwork Mon Mar 17 12:23:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Newton X-Patchwork-Id: 109 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx22.g.dreamhost.com (caibbdcaabij.dreamhost.com [208.113.200.189]) by wilcox.dreamhost.com (Postfix) with ESMTP id 252073600B0 for ; Mon, 17 Mar 2014 05:24:56 -0700 (PDT) Received: by homiemail-mx22.g.dreamhost.com (Postfix, from userid 14307373) id C96715000217; Mon, 17 Mar 2014 05:24:55 -0700 (PDT) X-Original-To: glibc@patchwork.siddhesh.in Delivered-To: x14307373@homiemail-mx22.g.dreamhost.com 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 homiemail-mx22.g.dreamhost.com (Postfix) with ESMTPS id A6B6C5000216 for ; Mon, 17 Mar 2014 05:24:55 -0700 (PDT) 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:in-reply-to :references; q=dns; s=default; b=GtX1XUS17qVqBtOch5PkiQWx6F5cd15 WuEB9hhwX4Wt/Cc1SCUGs93Ba3UQ8+XqaPQd2Ie92QxNd2lvqJSuFipOI52/EqVs v+WwXOV7bxgUl64zKuXmT2zBUgN0XZ6qHI689ZZyjgvfIRhpPM+l1Ly7LSdDwL74 qqbDn6cgp2GQ= 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:in-reply-to :references; s=default; bh=k+ws8XtBFAPlIXnc2DQtilHJWe8=; b=kPVQx DXBAlU8Pqe1dkAG4sXFYJjaqNBrBIXCGJ+eyf9+xvKvrXacYCdlbyG5sbRPNQpPR z2ZDyxpYjYj90Szq82Jzfa2gQ3cZmEM4394lnk4aocpauNTK4OaJUFIya7n7YJlx pEThHWHiw7KuVTkC3KTqERNJ31GjNZsiCMLdF4= Received: (qmail 19455 invoked by alias); 17 Mar 2014 12:23:44 -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 19373 invoked by uid 89); 17 Mar 2014 12:23:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f48.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=cVNL67h3fptcvI3Sd5o/0jd88odyFFLxhCZZMgZ/S58=; b=UNWhrQr+CMFXrUkQz6Mo8csPZ7fNjRtj7eiitL8OwDlqZi7Ophr1A9E20waA5vO5Sz 0uHDx+4ksGnwui10NG2ehrSDrp0rP2N6/jY5odhWALeZFotnJ38RVQbBWLEJlafinn53 vzozCnuIcd4RsbdiD4npL8fTDv47J4rdmPJ5rUaSgydWnsDllY1MZyLg5dEUqyVzC3LS RQXAK92LBdthRaghEZo+GAVUXeAfkWiDQ5e0chtaozWbkq4cJBKC8B30GqpeDRJLoUya 3w8szF/G8DCI5ewhzE9VM+pCxMGIL74aIzBm0vu5JQ/dHgrsZSo8Kx+IkySDU8muQ6Vi jKDg== X-Gm-Message-State: ALoCoQnqMdm7dUP29hRfEItfpgBOke2WXrjpNQJsV+2bNq+5a9u/MJZ34WA+nux+OtopHbTH+Hkf X-Received: by 10.180.92.196 with SMTP id co4mr9244298wib.50.1395059017032; Mon, 17 Mar 2014 05:23:37 -0700 (PDT) From: Will Newton To: libc-alpha@sourceware.org Subject: [PATCH 7/7] Fix HAVE_RM_CTX -Wundef warnings Date: Mon, 17 Mar 2014 12:23:24 +0000 Message-Id: <1395059004-20960-7-git-send-email-will.newton@linaro.org> In-Reply-To: <1395059004-20960-1-git-send-email-will.newton@linaro.org> References: <1395059004-20960-1-git-send-email-will.newton@linaro.org> X-DH-Original-To: glibc@patchwork.siddhesh.in ChangeLog: 2014-03-17 Will Newton * sysdeps/generic/math_private.h: Check whether HAVE_RM_CTX is defined with #ifdef rather than #if. --- sysdeps/generic/math_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/generic/math_private.h b/sysdeps/generic/math_private.h index 9b881a3..0ac70e3b 100644 --- a/sysdeps/generic/math_private.h +++ b/sysdeps/generic/math_private.h @@ -551,7 +551,7 @@ default_libc_feupdateenv_test (fenv_t *e, int ex) # define libc_feresetround_noexl libc_fesetenvl #endif -#if HAVE_RM_CTX +#ifdef HAVE_RM_CTX /* Set/Restore Rounding Modes only when necessary. If defined, these functions set/restore floating point state only if the state needed within the lexical block is different from the current state. This saves a lot of time when