build: add fminf() emulation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a80342fe56
commit
97508af274
2 changed files with 7 additions and 0 deletions
|
|
@ -82,6 +82,11 @@ static av_always_inline float cbrtf(float x)
|
|||
#define exp2f(x) ((float)exp2(x))
|
||||
#endif /* HAVE_EXP2F */
|
||||
|
||||
#if !HAVE_FMINF
|
||||
#undef fminf
|
||||
#define fminf(x, y) ((float)fminf(x,y))
|
||||
#endif
|
||||
|
||||
#if !HAVE_ISINF
|
||||
static av_always_inline av_const int isinf(float x)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue