diff options
author | Craig A. Berry <craigberry@mac.com> | 2014-09-02 18:51:04 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2014-09-02 18:51:04 -0500 |
commit | 51a0624d13d30bf656b67b2f094c54e7ab0fd859 (patch) | |
tree | 0901b216153ecc8a816c99dc031a27b16df636e2 /ext/POSIX/POSIX.xs | |
parent | f33fddeca8c03e72b526d822c4d7f75e6399ddf8 (diff) | |
download | perl-51a0624d13d30bf656b67b2f094c54e7ab0fd859.tar.gz |
The VMS CRTL has lrint, but not llrint.
Diffstat (limited to 'ext/POSIX/POSIX.xs')
-rw-r--r-- | ext/POSIX/POSIX.xs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index e5231b8290..77d4ec846a 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -332,7 +332,7 @@ /* XXX Regarding C99 math.h, VMS seems to be missing these: - nan nearbyint round scalbn + nan nearbyint round scalbn llrint */ #ifdef __VMS @@ -340,6 +340,10 @@ # undef c99_nearbyint # undef c99_round # undef c99_scalbn +/* Have lrint but not llrint. */ +# if defined(USE_64_BIT_INT) && QUADKIND == QUAD_IS_LONG_LONG +# undef c99_lrint +# endif #endif /* XXX Regarding C99 math.h, Win32 seems to be missing these: |