changeset 832:719f18da56a8 libavutil

Define missing llrint() as macro instead of inline function This fixes building on some broken systems.
author mru
date Tue, 09 Feb 2010 22:55:16 +0000
parents c7a8f850d5cf
children 030b858fee8b
files internal.h
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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