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:
ff90be7
)
Use my_tgamma/my_lgamma only ifndef HAS_TGAMMA/HAS_LGAMMA.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 19 Nov 2014 00:24:22 +0000
(19:24 -0500)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 19 Nov 2014 00:29:57 +0000
(19:29 -0500)
ext/POSIX/POSIX.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/POSIX/POSIX.xs
b/ext/POSIX/POSIX.xs
index
452f766
..
ebbef38
100644
(file)
--- a/
ext/POSIX/POSIX.xs
+++ b/
ext/POSIX/POSIX.xs
@@
-738,11
+738,11
@@
static IV my_ilogb(NV x)
/* Note that tgamma() and lgamma() implementations depend on each other. */
-#ifndef
c99_tgamma
+#ifndef
HAS_TGAMMA
static NV my_tgamma(NV x);
# define c99_tgamma my_tgamma
#endif
-#ifndef
c99_lgamma
+#ifndef
HAS_LGAMMA
static NV my_lgamma(NV x);
# define c99_lgamma my_lgamma
#endif