about summary refs log tree commit diff
path: root/math/w_exp2f_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_exp2f_compat.c')
-rw-r--r--math/w_exp2f_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_exp2f_compat.c b/math/w_exp2f_compat.c
index b21fe36903..b058daed30 100644
--- a/math/w_exp2f_compat.c
+++ b/math/w_exp2f_compat.c
@@ -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