diff options
Diffstat (limited to 'sysdeps/generic/fsetexcptflg.c')
-rw-r--r-- | sysdeps/generic/fsetexcptflg.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/generic/fsetexcptflg.c b/sysdeps/generic/fsetexcptflg.c index 1274301..b2a98b3 100644 --- a/sysdeps/generic/fsetexcptflg.c +++ b/sysdeps/generic/fsetexcptflg.c @@ -19,6 +19,7 @@ Boston, MA 02111-1307, USA. */ #include <fenv.h> +#include <shlib-compat.h> int __fesetexceptflag (const fexcept_t *flagp, int excepts) @@ -26,9 +27,11 @@ __fesetexceptflag (const fexcept_t *flagp, int excepts) /* This always fails. */ return 1; } +#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2) strong_alias (__fesetexceptflag, __old_fesetexceptflag) -symbol_version (__old_fesetexceptflag, fesetexceptflag, GLIBC_2.1); -default_symbol_version (__fesetexceptflag, fesetexceptflag, GLIBC_2.2); +compat_symbol (libm, __old_fesetexceptflag, fesetexceptflag, GLIBC_2_1); +#endif +versioned_symbol (libm, __fesetexceptflag, fesetexceptflag, GLIBC_2_2); stub_warning (fesetexceptflag) #include <stub-tag.h> |