summaryrefslogtreecommitdiff
path: root/sysdeps/m68k/coldfire/ldbl-classify-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/m68k/coldfire/ldbl-classify-compat.h')
-rw-r--r--sysdeps/m68k/coldfire/ldbl-classify-compat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/m68k/coldfire/ldbl-classify-compat.h b/sysdeps/m68k/coldfire/ldbl-classify-compat.h
new file mode 100644
index 0000000000..c1ec4d4ffa
--- /dev/null
+++ b/sysdeps/m68k/coldfire/ldbl-classify-compat.h
@@ -0,0 +1,8 @@
+#ifndef COLDFIRE_LDBL_CLASSIFY_COMPAT_H
+#define COLDFIRE_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