build: add fminf() emulation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2014-06-06 14:54:57 +02:00
parent a80342fe56
commit 97508af274
2 changed files with 7 additions and 0 deletions

View File

@@ -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)
{