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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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