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