aboutsummaryrefslogtreecommitdiff
path: root/lib/msun/src/s_round.c
diff options
context:
space:
mode:
authorSteve Kargl <kargl@FreeBSD.org>2013-11-07 21:20:34 +0000
committerSteve Kargl <kargl@FreeBSD.org>2013-11-07 21:20:34 +0000
commit0e9dcedc67ee451a21931e08dbb79757b599eeb7 (patch)
tree19c2fa3dadc3a2970e3fd68102174442ba4853bd /lib/msun/src/s_round.c
parent6451dd7e0f515fa177681c72fb4271efb2665e87 (diff)
downloadsrc-0e9dcedc67ee451a21931e08dbb79757b599eeb7.tar.gz
src-0e9dcedc67ee451a21931e08dbb79757b599eeb7.zip
Fix bulding libm on platforms with LDBL_MANT_DIG == 53.
Reported by: ian
Notes
Notes: svn path=/head/; revision=257818
Diffstat (limited to 'lib/msun/src/s_round.c')
-rw-r--r--lib/msun/src/s_round.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/msun/src/s_round.c b/lib/msun/src/s_round.c
index 8fd407db769e..efe5029c531d 100644
--- a/lib/msun/src/s_round.c
+++ b/lib/msun/src/s_round.c
@@ -52,3 +52,7 @@ round(double x)
return (-t);
}
}
+
+#if (LDBL_MANT_DIG == 53)
+__weak_reference(round, roundl);
+#endif