about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-03-17 20:36:06 +0000
committerWill Newton <will.newton@linaro.org>2014-03-17 20:36:06 +0000
commitd0ac132472b6e4ca9a6664d979724f700f8fb48a (patch)
treed32718c7b9641b0dc49e5473c533008a939bd8c8
parent9290130a8de3f30970f741c79dfe8459f798e05f (diff)
downloadglibc-d0ac132472b6e4ca9a6664d979724f700f8fb48a.tar.gz
glibc-d0ac132472b6e4ca9a6664d979724f700f8fb48a.tar.xz
glibc-d0ac132472b6e4ca9a6664d979724f700f8fb48a.zip
Revert "Fix HAVE_RM_CTX -Wundef warnings"
This reverts commit 9290130a8de3f30970f741c79dfe8459f798e05f.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/generic/math_private.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f6b90d2c86..972c30b975 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-03-17  Will Newton  <will.newton@linaro.org>
 
+	* sysdeps/generic/math_private.h: Revert previous
+	change.
+
 	* sysdeps/generic/math_private.h: Check whether
 	HAVE_RM_CTX is defined with #ifdef rather
 	than #if.
diff --git a/sysdeps/generic/math_private.h b/sysdeps/generic/math_private.h
index 0ac70e3b1b..9b881a3e76 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
 
-#ifdef HAVE_RM_CTX
+#if 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