summaryrefslogtreecommitdiff
path: root/ext/POSIX/POSIX.xs
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-09-04 11:40:33 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-09-04 11:58:17 -0400
commitc40e90c4b1f82a8630976f5302d9a3a427c38977 (patch)
tree73017a3de2afb2fa053b3684c51f358d48bea1cd /ext/POSIX/POSIX.xs
parent1dfc8cb81aab3f4f9954218ee6dbf8bfbd4a14da (diff)
downloadperl-c40e90c4b1f82a8630976f5302d9a3a427c38977.tar.gz
POSIX math: let's not override the real lrint().
Diffstat (limited to 'ext/POSIX/POSIX.xs')
-rw-r--r--ext/POSIX/POSIX.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index e8ea796880..cb4bb8f798 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -717,7 +717,7 @@ static NV my_rint(NV x)
#ifndef c99_lrint
# ifdef FE_TONEAREST
-static IV lrint(NV x)
+static IV my_lrint(NV x)
{
return (IV)my_rint(x);
}