]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_exp10l_compat.c
Prefer new libm function wrappers for !LIBM_SVID_COMPAT.
[thirdparty/glibc.git] / math / w_exp10l_compat.c
index 03b7ce9b6bd914f99cb7086c8f200217c2ef5fb8..3d7d66d5af1308e2f6366bf9f02282dd1c81c12c 100644 (file)
@@ -25,6 +25,7 @@
 #include <math_private.h>
 #include <math-svid-compat.h>
 
+#if LIBM_SVID_COMPAT
 long double
 __exp10l (long double x)
 {
@@ -37,7 +38,8 @@ __exp10l (long double x)
   return z;
 }
 weak_alias (__exp10l, exp10l)
-#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)
+# if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)
 strong_alias (__exp10l, __pow10l)
 compat_symbol (libm, __pow10l, pow10l, GLIBC_2_1);
+# endif
 #endif