mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-24 12:25:35 +08:00
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.
This commit is contained in:
parent
afb466fcb0
commit
9290130a8d
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user