diff options
Diffstat (limited to 'math/w_fmod_compat.c')
-rw-r--r-- | math/w_fmod_compat.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/math/w_fmod_compat.c b/math/w_fmod_compat.c index f75b8615d0..a4d2ebefea 100644 --- a/math/w_fmod_compat.c +++ b/math/w_fmod_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 /* wrapper fmod */ @@ -32,9 +33,5 @@ __fmod (double x, double y) return __ieee754_fmod (x, y); } -weak_alias (__fmod, fmod) -# ifdef NO_LONG_DOUBLE -strong_alias (__fmod, __fmodl) -weak_alias (__fmod, fmodl) -# endif +libm_alias_double (__fmod, fmod) #endif |