aboutsummaryrefslogtreecommitdiff
path: root/math/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/math.h')
-rw-r--r--math/math.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/math/math.h b/math/math.h
index 2693fcc..6915a9e 100644
--- a/math/math.h
+++ b/math/math.h
@@ -115,13 +115,6 @@ extern int matherr __P ((struct exception *));
#endif
-/* Get machine-dependent inline versions (if there are any). */
-#include <__math.h>
-
-
-__END_DECLS
-
-
#ifdef __USE_BSD
/* Some useful constants. */
#define M_E 2.7182818284590452354 /* e */
@@ -140,4 +133,13 @@ __END_DECLS
#endif
+/* Get machine-dependent inline versions (if there are any). */
+#if defined (__NO_MATH_INLINES) || defined (__OPTIMIZE__)
+#include <__math.h>
+#endif
+
+
+__END_DECLS
+
+
#endif /* math.h */