about summary refs log tree commit diff
path: root/math/w_lgammal_r_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_lgammal_r_compat.c')
-rw-r--r--math/w_lgammal_r_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_lgammal_r_compat.c b/math/w_lgammal_r_compat.c
index d1b58e42dd..781bfa45e7 100644
--- a/math/w_lgammal_r_compat.c
+++ b/math/w_lgammal_r_compat.c
@@ -23,6 +23,7 @@
 #include <math-svid-compat.h>
 
 
+#if LIBM_SVID_COMPAT
 long double
 __lgammal_r(long double x, int *signgamp)
 {
@@ -37,3 +38,4 @@ __lgammal_r(long double x, int *signgamp)
 	return y;
 }
 weak_alias (__lgammal_r, lgammal_r)
+#endif