Commit e5ed306c authored by Sam Hocevar's avatar Sam Hocevar

* encoder/ratecontrol.c: OS X support for exp2f and sqrtf.


git-svn-id: svn://svn.videolan.org/x264/trunk@439 df754926-b1dd-0310-bc7b-ec298dee348c
parent 14b26394
......@@ -38,6 +38,10 @@
#if defined(SYS_FREEBSD) || defined(SYS_BEOS) || defined(SYS_NETBSD)
#define exp2f(x) powf( 2, (x) )
#endif
#if defined(SYS_MACOSX)
#define exp2f(x) (float)pow( 2, (x) )
#define sqrtf sqrt
#endif
#if defined(_MSC_VER)
#define isfinite _finite
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment