]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_exp2f_compat.c
Prefer new libm function wrappers for !LIBM_SVID_COMPAT.
[thirdparty/glibc.git] / math / w_exp2f_compat.c
index b21fe36903a875b6a5e3cd56a02e40948fc1a427..b058daed305cbf59fe7d881a3754820724e6b4eb 100644 (file)
@@ -6,6 +6,7 @@
 #include <math_private.h>
 #include <math-svid-compat.h>
 
+#if LIBM_SVID_COMPAT
 float
 __exp2f (float x)
 {
@@ -18,3 +19,4 @@ __exp2f (float x)
   return z;
 }
 weak_alias (__exp2f, exp2f)
+#endif