summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-03-17 12:07:10 +0000
committerWill Newton <will.newton@linaro.org>2014-03-17 16:05:24 +0000
commit9290130a8de3f30970f741c79dfe8459f798e05f (patch)
tree3360b6d6c68558e83616b9aa4a372aa8f1844658 /sysdeps/generic
parentafb466fcb034f594e083b5664fa60a0d4f54c41b (diff)
downloadglibc-9290130a8de3f30970f741c79dfe8459f798e05f.tar.gz
glibc-9290130a8de3f30970f741c79dfe8459f798e05f.tar.xz
glibc-9290130a8de3f30970f741c79dfe8459f798e05f.zip
Fix HAVE_RM_CTX -Wundef warnings
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.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/math_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/math_private.h b/sysdeps/generic/math_private.h
index 9b881a3e76..0ac70e3b1b 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