about summary refs log tree commit diff
path: root/math/w_exp2l_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_exp2l_compat.c')
-rw-r--r--math/w_exp2l_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_exp2l_compat.c b/math/w_exp2l_compat.c
index 04cd666b68..96d4b96c11 100644
--- a/math/w_exp2l_compat.c
+++ b/math/w_exp2l_compat.c
@@ -6,6 +6,7 @@
 #include <math_private.h>
 #include <math-svid-compat.h>
 
+#if LIBM_SVID_COMPAT
 long double
 __exp2l (long double x)
 {
@@ -18,3 +19,4 @@ __exp2l (long double x)
   return z;
 }
 weak_alias (__exp2l, exp2l)
+#endif