1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-17 16:11:11 +02:00

Audacity fails to compile with VS2019 16.9.0 (lrint, lrintf) (#750)

This commit is contained in:
JohnColket
2021-03-17 11:50:24 -04:00
committed by GitHub
parent 173e3b3d66
commit 3d90f8074a

View File

@@ -56,6 +56,7 @@
/* Win32 doesn't seem to have these functions. /* Win32 doesn't seem to have these functions.
** Therefore implement inline versions of these functions here. ** Therefore implement inline versions of these functions here.
*/ */
#if _MSC_VER < 1928
__inline long int __inline long int
lrint (double flt) lrint (double flt)
{ int intgr; { int intgr;
@@ -79,7 +80,7 @@
return intgr ; return intgr ;
} }
#endif
__inline long long int __inline long long int
llrint (double flt) llrint (double flt)
{ long long int intgr; { long long int intgr;