summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgcompat/math.c5
1 files changed, 5 insertions, 0 deletions
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")));