]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_remainder_compat.c
Merge branch 'master' of git://sourceware.org/git/glibc
[thirdparty/glibc.git] / math / w_remainder_compat.c
index 6bf5d1ff2e7898e8d8a9b95632aa61e3a3ed3d91..7573da545272b098b90016283ebb81e2329d0fa3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011-2017 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2018 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@gmail.com>, 2011.
 
 #include <math.h>
 #include <math_private.h>
 #include <math-svid-compat.h>
+#include <libm-alias-double.h>
 
 
+#if LIBM_SVID_COMPAT
 /* wrapper remainder */
 double
 __remainder (double x, double y)
@@ -32,10 +34,9 @@ __remainder (double x, double y)
 
   return __ieee754_remainder (x, y);
 }
-weak_alias (__remainder, remainder)
+libm_alias_double (__remainder, remainder)
 weak_alias (__remainder, drem)
-#ifdef NO_LONG_DOUBLE
-strong_alias (__remainder, __remainderl)
-weak_alias (__remainder, remainderl)
+# ifdef NO_LONG_DOUBLE
 weak_alias (__remainder, dreml)
+# endif
 #endif