# HG changeset patch # User mru # Date 1265756116 0 # Node ID 719f18da56a8b8222db17c017a320c6f9fee02ac # Parent c7a8f850d5cf5dfcaef7780caee675175acd99de Define missing llrint() as macro instead of inline function This fixes building on some broken systems. diff -r c7a8f850d5cf -r 719f18da56a8 internal.h --- a/internal.h Sun Feb 07 17:13:59 2010 +0000 +++ b/internal.h Tue Feb 09 22:55:16 2010 +0000 @@ -225,10 +225,8 @@ #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) #endif /* HAVE_LLRINT */ #if !HAVE_LOG2