diff options
Diffstat (limited to 'sysdeps/microblaze/math_private.h')
-rw-r--r-- | sysdeps/microblaze/math_private.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/microblaze/math_private.h b/sysdeps/microblaze/math_private.h index 2cfaacad1b..d82e8bf820 100644 --- a/sysdeps/microblaze/math_private.h +++ b/sysdeps/microblaze/math_private.h @@ -1,4 +1,5 @@ -#ifndef _MATH_PRIVATE_H +#ifndef MICROBLAZE_MATH_PRIVATE_H +#define MICROBLAZE_MATH_PRIVATE_H 1 /* Suppress use of exceptions here to avoid build errors if the FE_* macros aren't definied. Only allow rounding modes implemented for @@ -25,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; }) |