Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2016-07-15 17:06:53 +0300
committerYaakov Selkowitz <yselkowi@redhat.com>2016-07-15 17:06:53 +0300
commit52d940e2633d79eb48982cb76f972f869d770f1a (patch)
tree4116f380238c2388adac50210837884255065ce5 /newlib/libc/include/math.h
parent7475b656f4f88f51438e7a734f4bc47e6b780ac9 (diff)
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h
index 3725ac0b9..ebbdac68c 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