]> sourceware.org Git - glibc.git/commitdiff
Fix HAVE_RM_CTX -Wundef warnings
authorWill Newton <will.newton@linaro.org>
Mon, 17 Mar 2014 12:07:10 +0000 (12:07 +0000)
committerWill Newton <will.newton@linaro.org>
Mon, 17 Mar 2014 16:05:24 +0000 (16:05 +0000)
ChangeLog:

2014-03-17  Will Newton  <will.newton@linaro.org>

* sysdeps/generic/math_private.h: Check whether
HAVE_RM_CTX is defined with #ifdef rather
than #if.

ChangeLog
sysdeps/generic/math_private.h

index 37d34f644420f2b7e31a49108f95da267bcc546c..f6b90d2c860ba328c0a7b652affc733effa73213 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2014-03-17  Will Newton  <will.newton@linaro.org>
 
+       * sysdeps/generic/math_private.h: Check whether
+       HAVE_RM_CTX is defined with #ifdef rather
+       than #if.
+
        * argp/argp-fmtstream.h: Check whether
        __STRICT_ANSI__ is defined with #ifdef rather
        than #if.
index 9b881a3e768711c4b04aa973a15af6197c16abf9..0ac70e3b1b3a14e3269a5d5f78e29077a4767224 100644 (file)
@@ -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
This page took 0.109723 seconds and 5 git commands to generate.