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: 330925 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 ozlabs.org (Postfix) with ESMTPS id 5A8A22C00CF for ; Mon, 17 Mar 2014 23:25:00 +1100 (EST) 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=nfBGCaqVOGyy6yESDdAOjUaxdsMqvL6 fQAbzWJ0AlCVdu4D/XZ8+PU9yOOVX8yz4Nb10H7Zmk4cmbWbw93IX6sy7qBpOgP6 1jpChM307y8chx+1nV38EG/qmeSOZg3LDWISRH8VF6trAJbGKYq5OWsNBK5NuelQ Z677H2q79zkA= 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=kypTv yPBE+PC4gUJwEyU5qzHUlJi2tlep/ISr6pkLJSvKwc781Dw5LUOt0IoGZ1ve9lBw lacQL/KsFDHejIvps+9Q41NDrfeMPM1q1GVnldWcnhEtxaPIx63PZLfX3M4bG9HN pQXC1mjNxkGyUBZd5HfQtzr7Xh5sguPtBYYHfY= 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> 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