diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2016-07-28 09:55:07 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2016-07-28 09:55:25 -0700 |
commit | d80a6052a64d2df61ee61888853ef5f3872c0e34 (patch) | |
tree | 88c1b5608763974116e6e2c6a55bcfb7cb74f7e4 /ext/POSIX/POSIX.xs | |
parent | 5d3908cb49f1d84ebc7b8efec7c2b302c84eae5b (diff) | |
download | perl-d80a6052a64d2df61ee61888853ef5f3872c0e34.tar.gz |
[perl #128763] Fix POSIX.xs longdbl assertion
Diffstat (limited to 'ext/POSIX/POSIX.xs')
-rw-r--r-- | ext/POSIX/POSIX.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index 3820026a4d..a950af35c7 100644 --- 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 -#ifdef 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) |