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:
5d3908c
)
[perl #128763] Fix POSIX.xs longdbl assertion
author
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 28 Jul 2016 16:55:07 +0000
(09:55 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Thu, 28 Jul 2016 16:55:25 +0000
(09:55 -0700)
ext/POSIX/POSIX.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/POSIX/POSIX.xs
b/ext/POSIX/POSIX.xs
index
3820026
..
a950af3
100644
(file)
--- a/
ext/POSIX/POSIX.xs
+++ b/
ext/POSIX/POSIX.xs
@@
-1153,7
+1153,7
@@
static NV my_trunc(NV x)
# define NV_PAYLOAD_TYPE NV
#endif
-#if
def LONGDOUBLE_DOUBLEDOUBLE
+#if
defined(USE_LONG_DOUBLE) && defined(LONGDOUBLE_DOUBLEDOUBLE)
# define NV_PAYLOAD_SIZEOF_ASSERT(a) assert(sizeof(a) == NVSIZE / 2)
#else
# define NV_PAYLOAD_SIZEOF_ASSERT(a) assert(sizeof(a) == NVSIZE)