diff options
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index 0a2935bbff..402b99091a 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -492,4 +492,10 @@ static inline long int lrintf(float x) } #endif +#if defined(CONFIG_OS2) || defined(CONFIG_SUNOS) +static inline float floorf(float f) { + return floor(f); +} +#endif + #endif |