summaryrefslogtreecommitdiff
path: root/sysdeps/sh/math_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sh/math_private.h')
-rw-r--r--sysdeps/sh/math_private.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/sh/math_private.h b/sysdeps/sh/math_private.h
new file mode 100644
index 0000000000..d13f2d49d3
--- /dev/null
+++ b/sysdeps/sh/math_private.h
@@ -0,0 +1,10 @@
+#ifndef SH_MATH_PRIVATE_H
+#define SH_MATH_PRIVATE_H 1
+
+/* Enable __finitel, __isinfl, and __isnanl for binary compatibility
+ when built without long double support. */
+#define LDBL_CLASSIFY_COMPAT 1
+
+#include_next <math_private.h>
+
+#endif