summaryrefslogtreecommitdiffstats
path: root/include/math.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-18 16:00:43 +0100
committerAustin Foxley <austinf@cetoncorp.com>2009-11-22 11:14:49 -0800
commitb58a430f41bdd6c7837e004e8a675d263cc1206c (patch)
tree11aa1b9cd10e9367852627ef14f049611bc1074a /include/math.h
parent97a3a2a9fa52ba32f5c038613c01d3df34ee4cf0 (diff)
downloaduClibc-alpine-b58a430f41bdd6c7837e004e8a675d263cc1206c.tar.bz2
uClibc-alpine-b58a430f41bdd6c7837e004e8a675d263cc1206c.tar.xz
MAXFLOAT: obsolescent in SUSv4
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'include/math.h')
-rw-r--r--include/math.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/math.h b/include/math.h
index ecd01877c..83ed8993c 100644
--- a/include/math.h
+++ b/include/math.h
@@ -377,8 +377,10 @@ extern int matherr (struct exception *__exc);
#else /* !SVID */
# ifdef __USE_XOPEN
+# ifdef __UCLIBC_SUSV4_LEGACY__
/* X/Open wants another strange constant. */
# define MAXFLOAT 3.40282347e+38F
+# endif
# endif
#endif /* SVID */