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:
parent
173e3b3d66
commit
3d90f8074a
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user