aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/microblaze/math_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/microblaze/math_private.h')
-rw-r--r--sysdeps/microblaze/math_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/microblaze/math_private.h b/sysdeps/microblaze/math_private.h
index 73e59df5b9..d82e8bf820 100644
--- a/sysdeps/microblaze/math_private.h
+++ b/sysdeps/microblaze/math_private.h
@@ -26,6 +26,10 @@
#define libc_feholdexcept_setround(env, exc) ({ (void) (env); 0; })
#define libc_feupdateenv_test(env, exc) ({ (void) (env); 0; })
+/* Enable __finitel, __isinfl, and __isnanl for binary compatibility
+ when built without long double support. */
+#define LDBL_CLASSIFY_COMPAT 1
+
#include_next <math_private.h>
#define feraiseexcept(excepts) ({ 0; })