summary refs log tree commit diff
path: root/sysdeps/sh/ldbl-classify-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sh/ldbl-classify-compat.h')
-rw-r--r--sysdeps/sh/ldbl-classify-compat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/sh/ldbl-classify-compat.h b/sysdeps/sh/ldbl-classify-compat.h
new file mode 100644
index 0000000000..d3b978cdff
--- /dev/null
+++ b/sysdeps/sh/ldbl-classify-compat.h
@@ -0,0 +1,8 @@
+#ifndef SH_LDBL_CLASSIFY_COMPAT_H
+#define SH_LDBL_CLASSIFY_COMPAT_H 1
+
+/* Enable __finitel, __isinfl, and __isnanl for binary compatibility
+   when built without long double support. */
+#define LDBL_CLASSIFY_COMPAT 1
+
+#endif