about summary refs log tree commit diff
path: root/math/w_powf_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_powf_compat.c')
-rw-r--r--math/w_powf_compat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/w_powf_compat.c b/math/w_powf_compat.c
index 39e818af7e..7745639efe 100644
--- a/math/w_powf_compat.c
+++ b/math/w_powf_compat.c
@@ -22,10 +22,10 @@
 #include <libm-alias-float.h>
 
 
-#if LIBM_SVID_COMPAT
+#if LIBM_SVID_COMPAT && SHLIB_COMPAT (libm, GLIBC_2_0, GLIBC_2_27)
 /* wrapper powf */
 float
-__powf (float x, float y)
+__powf_compat (float x, float y)
 {
   float z = __ieee754_powf (x, y);
   if (__glibc_unlikely (!isfinite (z)))
@@ -60,5 +60,5 @@ __powf (float x, float y)
 
   return z;
 }
-libm_alias_float (__pow, pow)
+compat_symbol (libm, __powf_compat, powf, GLIBC_2_0);
 #endif