diff options
Diffstat (limited to 'math/w_tgamma_compat.c')
-rw-r--r-- | math/w_tgamma_compat.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/math/w_tgamma_compat.c b/math/w_tgamma_compat.c index f843475f10..219aa10862 100644 --- a/math/w_tgamma_compat.c +++ b/math/w_tgamma_compat.c @@ -19,6 +19,7 @@ #include <math.h> #include <math_private.h> #include <math-svid-compat.h> +#include <libm-alias-double.h> #if LIBM_SVID_COMPAT double @@ -41,9 +42,5 @@ __tgamma(double x) } return local_signgam < 0 ? -y : y; } -weak_alias (__tgamma, tgamma) -# ifdef NO_LONG_DOUBLE -strong_alias (__tgamma, __tgammal) -weak_alias (__tgamma, tgammal) -# endif +libm_alias_double (__tgamma, tgamma) #endif |