]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_acos_compat.c
powerpc: Fix build of wcscpy with --disable-multi-arch
[thirdparty/glibc.git] / math / w_acos_compat.c
index e6fbdf139ca9259a0542534ff3007ddd3682a493..14e4ff2902596fc5ecb1acc8fa860193e6558669 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011-2017 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@gmail.com>, 2011.
 
 #include <fenv.h>
 #include <math.h>
 #include <math_private.h>
+#include <math-svid-compat.h>
+#include <libm-alias-double.h>
 
 
+#if LIBM_SVID_COMPAT
 /* wrapper acos */
 double
 __acos (double x)
@@ -35,8 +38,5 @@ __acos (double x)
 
   return __ieee754_acos (x);
 }
-weak_alias (__acos, acos)
-#ifdef NO_LONG_DOUBLE
-strong_alias (__acos, __acosl)
-weak_alias (__acos, acosl)
+libm_alias_double (__acos, acos)
 #endif