[FFmpeg-cvslog] r21735 - trunk/libavutil/internal.h
    Michael Kostylev 
    michael.kostylev
       
    Fri Feb 19 17:28:18 CET 2010
    
    
  
On Tue Feb  9 23:55:16 2010
mru wrote:
> Define missing llrint() as macro instead of inline function
> 
> This fixes building on some broken systems.
> 
> Modified:
>    trunk/libavutil/internal.h
> 
> Modified: trunk/libavutil/internal.h
> ==============================================================================
> --- trunk/libavutil/internal.h	Tue Feb  9 23:55:13 2010	(r21734)
> +++ trunk/libavutil/internal.h	Tue Feb  9 23:55:16 2010	(r21735)
> @@ -225,10 +225,8 @@ static inline av_const unsigned int ff_s
>  #endif /* HAVE_EXP2F */
>  
>  #if !HAVE_LLRINT
> -static av_always_inline av_const long long llrint(double x)
> -{
> -    return rint(x);
> -}
> +#undef llrint
> +#define llrint(x) rint(x)
The dos machine is unhappy with this macro.
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llrint.diff
Type: text/x-diff
Size: 233 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20100219/c2ddf566/attachment.diff>
    
    
More information about the ffmpeg-cvslog
mailing list