From 48621083e37dcce18e017e840d79e668b5b380de Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 15 Oct 2017 08:20:29 -0500 Subject: math: Add weak aliases for non-__ prefix is{inf,nan}{,f} --- libgcompat/math.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libgcompat/math.c b/libgcompat/math.c index bacec36..2c793e4 100644 --- a/libgcompat/math.c +++ b/libgcompat/math.c @@ -19,3 +19,8 @@ int __isnan(double number) { return isnan(number); } + +extern __typeof(__isnanf) isnanf __attribute__((weak, alias("__isnanf"))); +extern __typeof(__isnan) isnan __attribute__((weak, alias("__isnan"))); +extern __typeof(__isinff) isinff __attribute__((weak, alias("__isinff"))); +extern __typeof(__isinf) isinf __attribute__((weak, alias("__isinf"))); -- cgit v1.2.3-70-g09d2