diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2016-07-15 09:06:53 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2016-07-15 09:06:53 -0500 |
commit | 52d940e2633d79eb48982cb76f972f869d770f1a (patch) | |
tree | 4116f380238c2388adac50210837884255065ce5 /newlib/libc/include/math.h | |
parent | 7475b656f4f88f51438e7a734f4bc47e6b780ac9 (diff) | |
download | newlib-52d940e2633d79eb48982cb76f972f869d770f1a.zip newlib-52d940e2633d79eb48982cb76f972f869d770f1a.tar.gz newlib-52d940e2633d79eb48982cb76f972f869d770f1a.tar.bz2 |
math.h: fix guards on basic M_ constants
MAXFLOAT, M_PI, and friends date back to at least XPG4v2, so this guard
was incorrect even prior to the feature test macros overhaul.
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/include/math.h')
-rw-r--r-- | newlib/libc/include/math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index 3725ac0..ebbdac6 100644 --- a/newlib/libc/include/math.h +++ b/newlib/libc/include/math.h @@ -628,7 +628,7 @@ extern int matherr _PARAMS((struct exception *e)); /* Useful constants. */ -#if __BSD_VISIBLE || __XSI_VISIBLE >= 500 +#if __BSD_VISIBLE || __XSI_VISIBLE #define MAXFLOAT 3.40282347e+38F |