From: Eric Petit Date: Thu, 3 Mar 2005 03:02:27 +0000 (+0000) Subject: ratecontrol.c: fixed exp2f on BeOS so rate control works properly X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4337ee8de793cb5c6f0dee3b0a851041466fec7e;p=libx264 ratecontrol.c: fixed exp2f on BeOS so rate control works properly git-svn-id: svn://svn.videolan.org/x264/trunk@148 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/encoder/ratecontrol.c b/encoder/ratecontrol.c index fecc994a..47f9de3e 100644 --- a/encoder/ratecontrol.c +++ b/encoder/ratecontrol.c @@ -40,7 +40,7 @@ #ifdef SYS_MACOSX #define exp2f(x) ( (float) exp2( (x) ) ) #endif -#ifdef SYS_FREEBSD +#if defined(SYS_FREEBSD) || defined(SYS_BEOS) #define exp2f(x) powf( 2, (x) ) #endif #ifdef _MSC_VER