diff options
Diffstat (limited to 'math/w_hypot_compat.c')
-rw-r--r-- | math/w_hypot_compat.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/math/w_hypot_compat.c b/math/w_hypot_compat.c index 21c7e65..f07039c 100644 --- a/math/w_hypot_compat.c +++ b/math/w_hypot_compat.c @@ -17,6 +17,7 @@ #include <math.h> #include <math_private.h> #include <math-svid-compat.h> +#include <libm-alias-double.h> #if LIBM_SVID_COMPAT @@ -30,9 +31,5 @@ __hypot (double x, double y) return z; } -weak_alias (__hypot, hypot) -# ifdef NO_LONG_DOUBLE -strong_alias (__hypot, __hypotl) -weak_alias (__hypot, hypotl) -# endif +libm_alias_double (__hypot, hypot) #endif |