summaryrefslogtreecommitdiff
path: root/include/math.h
diff options
context:
space:
mode:
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 */