summaryrefslogtreecommitdiff
path: root/math/w_tgammaf_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_tgammaf_compat.c')
-rw-r--r--math/w_tgammaf_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_tgammaf_compat.c b/math/w_tgammaf_compat.c
index e6ae48c1f5..796850b4d9 100644
--- a/math/w_tgammaf_compat.c
+++ b/math/w_tgammaf_compat.c
@@ -18,6 +18,7 @@
#include <math_private.h>
#include <math-svid-compat.h>
+#if LIBM_SVID_COMPAT
float
__tgammaf(float x)
{
@@ -43,3 +44,4 @@ __tgammaf(float x)
return local_signgam < 0 ? - y : y;
}
weak_alias (__tgammaf, tgammaf)
+#endif