aboutsummaryrefslogtreecommitdiff
path: root/math/w_remainder_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_remainder_compat.c')
-rw-r--r--math/w_remainder_compat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/w_remainder_compat.c b/math/w_remainder_compat.c
index 6bf5d1f..68e322e 100644
--- a/math/w_remainder_compat.c
+++ b/math/w_remainder_compat.c
@@ -21,6 +21,7 @@
#include <math-svid-compat.h>
+#if LIBM_SVID_COMPAT
/* wrapper remainder */
double
__remainder (double x, double y)
@@ -34,8 +35,9 @@ __remainder (double x, double y)
}
weak_alias (__remainder, remainder)
weak_alias (__remainder, drem)
-#ifdef NO_LONG_DOUBLE
+# ifdef NO_LONG_DOUBLE
strong_alias (__remainder, __remainderl)
weak_alias (__remainder, remainderl)
weak_alias (__remainder, dreml)
+# endif
#endif