about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibm_private.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-11-01 10:49:39 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-11-01 10:49:39 +0100
commit51fb706781c438108f64ed32e7d8d05ebaf36d4e (patch)
treeeb91f6c6fcec2b87b0b5066beeba2a272324e7bd /src/wrapped/wrappedlibm_private.h
parent92ed70f0295641cc1a9e4f340bf929a508014b0b (diff)
downloadbox64-51fb706781c438108f64ed32e7d8d05ebaf36d4e.tar.gz
box64-51fb706781c438108f64ed32e7d8d05ebaf36d4e.zip
Added llrintl wrapped function (for #419)
Diffstat (limited to 'src/wrapped/wrappedlibm_private.h')
-rwxr-xr-xsrc/wrapped/wrappedlibm_private.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibm_private.h b/src/wrapped/wrappedlibm_private.h
index 2d9b3098..55287c95 100755
--- a/src/wrapped/wrappedlibm_private.h
+++ b/src/wrapped/wrappedlibm_private.h
@@ -305,7 +305,11 @@ GOW(lgamma_r, dFdp)
 DATAV(_LIB_VERSION, 8)
 GOW(llrint, IFd)
 GOW(llrintf, IFf)
-// llrintl  // Weak
+#ifdef HAVE_LD80BITS
+GOW(llrintl, IFD)
+#else
+GO2(llrintl, IFK, llrint)
+#endif
 GOW(llround, IFd)
 GOW(llroundf, IFf)
 // llroundl // Weak