diff options
Diffstat (limited to 'lib/libm/src')
| -rw-r--r-- | lib/libm/src/w_sqrtl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libm/src/w_sqrtl.c b/lib/libm/src/w_sqrtl.c index ee04159118c..186b010597b 100644 --- a/lib/libm/src/w_sqrtl.c +++ b/lib/libm/src/w_sqrtl.c @@ -11,7 +11,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: w_sqrtl.c,v 1.1 2013/11/19 19:24:34 joerg Exp $"); +__RCSID("$NetBSD: w_sqrtl.c,v 1.2 2013/11/20 11:39:00 joerg Exp $"); /* * wrapper sqrtl(x) @@ -21,6 +21,8 @@ __RCSID("$NetBSD: w_sqrtl.c,v 1.1 2013/11/19 19:24:34 joerg Exp $"); #include "math.h" #include "math_private.h" +#ifdef __HAVE_LONG_DOUBLE + __weak_alias(sqrtl, _sqrtl) long double @@ -38,3 +40,5 @@ sqrtl(long double x) /* wrapper sqrtl */ return z; #endif } + +#endif /* __HAVE_LONG_DOUBLE */ |
