Commit 60b3038b authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* powf -> pow :(

parent 6db8875a
...@@ -40,8 +40,9 @@ diff -ruN x264.orig/encoder/ratecontrol.c x264/encoder/ratecontrol.c ...@@ -40,8 +40,9 @@ diff -ruN x264.orig/encoder/ratecontrol.c x264/encoder/ratecontrol.c
#include "ratecontrol.h" #include "ratecontrol.h"
-#if defined(SYS_FREEBSD) || defined(SYS_BEOS) -#if defined(SYS_FREEBSD) || defined(SYS_BEOS)
-#define exp2f(x) powf( 2, (x) )
+#if defined(SYS_FREEBSD) || defined(SYS_BEOS) || defined(SYS_MACOSX) +#if defined(SYS_FREEBSD) || defined(SYS_BEOS) || defined(SYS_MACOSX)
#define exp2f(x) powf( 2, (x) ) +#define exp2f(x) (float)pow( 2, (x) )
+#define sqrtf sqrt +#define sqrtf sqrt
#endif #endif
#ifdef _MSC_VER #ifdef _MSC_VER
......
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