diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-11-12 19:04:47 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-11-14 19:01:49 -0500 |
commit | 29f617b7852fc55bbbaf86fc8405a0964d09a982 (patch) | |
tree | edeeeb413e836a2bc7aa0219e39eb2f0bb0b5912 /ext/POSIX | |
parent | 1b41e9c5c17b29c8033a6033252fa848644ea5fa (diff) | |
download | perl-29f617b7852fc55bbbaf86fc8405a0964d09a982.tar.gz |
We now have symbols for llrint and llround.
Diffstat (limited to 'ext/POSIX')
-rw-r--r-- | ext/POSIX/POSIX.xs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index 638755a896..21f8101dfa 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -331,12 +331,12 @@ # define c99_log1p log1p # define c99_log2 log2 # define c99_logb logb -# if defined(USE_64_BIT_INT) && QUADKIND == QUAD_IS_LONG_LONG +# if defined(USE_64_BIT_INT) && QUADKIND == QUAD_IS_LONG_LONG && defined(HAS_LLRINT) # define c99_lrint llrint # else # define c99_lrint lrint # endif -# if defined(USE_64_BIT_INT) && QUADKIND == QUAD_IS_LONG_LONG +# if defined(USE_64_BIT_INT) && QUADKIND == QUAD_IS_LONG_LONG && defined(HAS_LLROUND) # define c99_lround llround # else # define c99_lround lround |