1 #include <math_ldbl_opt.h>
3 #define weak_alias(n,a)
5 #define compat_symbol(l,n,a,v)
6 #include <math/w_exp10l_compat.c>
8 # if !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)
9 /* If ldbl-opt is used without special versioning for exp10l being
10 required, the generic code does not define exp10l because of the
11 undefine and redefine of weak_alias above. */
13 # define weak_alias(name, aliasname) _weak_alias (name, aliasname)
14 weak_alias (__exp10l
, exp10l
)
16 # if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)
17 /* compat_symbol was undefined and redefined above to avoid the
18 default pow10l compat symbol at version GLIBC_2_1 (as for ldbl-opt
19 configurations, that version should have the alias to exp10). So
20 it now needs to be redefined to define the compat symbol at version
21 LONG_DOUBLE_COMPAT_VERSION. */
23 # define compat_symbol(lib, local, symbol, version) \
24 compat_symbol_reference (lib, local, symbol, version)
25 compat_symbol (libm
, __pow10l
, pow10l
, LONG_DOUBLE_COMPAT_VERSION
);