1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 07:39:42 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;