mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 08:29:27 +02:00
Add lrintf() for 64-bit Windows build
This commit is contained in:
parent
458239b04d
commit
f3f0f4610d
@ -103,6 +103,17 @@
|
||||
|
||||
return intgr ;
|
||||
}
|
||||
#elif (defined (WIN32) || defined (_WIN32)) && defined(_M_3X64)
|
||||
|
||||
#include <math.h>
|
||||
#include <immintrin.h>
|
||||
|
||||
__inline long int
|
||||
lrintf (float flt)
|
||||
{
|
||||
return _mm_cvt_ss2si(_mm_set_ss(flt));
|
||||
}
|
||||
|
||||
#elif (HAVE_LRINT && HAVE_LRINTF)
|
||||
|
||||
/* These defines enable functionality introduced with the 1999 ISO C
|
||||
|
Loading…
x
Reference in New Issue
Block a user