summaryrefslogtreecommitdiff
path: root/math/w_lgammaf_r_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_lgammaf_r_compat.c')
-rw-r--r--math/w_lgammaf_r_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_lgammaf_r_compat.c b/math/w_lgammaf_r_compat.c
index d9601f45d7..86003de59a 100644
--- a/math/w_lgammaf_r_compat.c
+++ b/math/w_lgammaf_r_compat.c
@@ -22,6 +22,7 @@
#include <math-svid-compat.h>
+#if LIBM_SVID_COMPAT
float
__lgammaf_r(float x, int *signgamp)
{
@@ -36,3 +37,4 @@ __lgammaf_r(float x, int *signgamp)
return y;
}
weak_alias (__lgammaf_r, lgammaf_r)
+#endif