This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
74a9799
)
Make the C99 *l test a little bit more accepting.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 12 Nov 2014 12:00:56 +0000
(07:00 -0500)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 15 Nov 2014 00:01:46 +0000
(19:01 -0500)
ext/POSIX/POSIX.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/POSIX/POSIX.xs
b/ext/POSIX/POSIX.xs
index
63f0d36
..
3565092
100644
(file)
--- a/
ext/POSIX/POSIX.xs
+++ b/
ext/POSIX/POSIX.xs
@@
-265,9
+265,9
@@
# define bessel_y1 y1q
# define bessel_yn ynq
# elif defined(USE_LONG_DOUBLE) && \
# define bessel_y1 y1q
# define bessel_yn ynq
# elif defined(USE_LONG_DOUBLE) && \
-
defined(HAS_ILOGB
L)
-/*
There's already a symbol for ilogbl, we will use its truthines
s
- * as the canary for all the *l variants being defined. */
+
(defined(HAS_FREXPL) || defined(HAS_ILOGBL)) && defined(HAS_SQRT
L)
+/*
Use some of the Configure scans for long double math function
s
+ * as the canary for all the
C99
*l variants being defined. */
# define c99_acosh acoshl
# define c99_asinh asinhl
# define c99_atanh atanhl
# define c99_acosh acoshl
# define c99_asinh asinhl
# define c99_atanh atanhl