diff options
author | Måns Rullgård <mans@mansr.com> | 2010-04-23 16:28:10 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-04-23 16:28:10 +0000 |
commit | 07876e25c8773b28967f8992c77f69e25f8cf7c8 (patch) | |
tree | 63d38123c7398b735abb2fc0deefbfff4e6324dc /libavutil | |
parent | aebfb457749be2b5163926619e86aa9894611248 (diff) | |
download | ffmpeg-07876e25c8773b28967f8992c77f69e25f8cf7c8.tar.gz |
Workaround for missing llrintf()
Originally committed as revision 22954 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/libm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/libm.h b/libavutil/libm.h index db014a9066..c7c28ac27c 100644 --- a/libavutil/libm.h +++ b/libavutil/libm.h @@ -43,6 +43,11 @@ #define llrint(x) ((long long)rint(x)) #endif /* HAVE_LLRINT */ +#if !HAVE_LLRINTF +#undef llrintf +#define llrintf(x) ((long long)rint(x)) +#endif /* HAVE_LLRINT */ + #if !HAVE_LOG2 #undef log2 #define log2(x) (log(x) * 1.44269504088896340736) |