From 74c285e090b875d1a1e4e32adc28dcf12469a8b4 Mon Sep 17 00:00:00 2001 From: cboesch Date: Mon, 3 Jan 2011 19:39:31 +0000 Subject: cleanup: define ROUND() macro in mpcommon.h git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32751 b3059339-0415-0410-9bf9-f77b7e298cf2 --- m_property.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'm_property.c') diff --git a/m_property.c b/m_property.c index 363e042f1c..93fa8863fd 100644 --- a/m_property.c +++ b/m_property.c @@ -30,8 +30,7 @@ #include "m_option.h" #include "m_property.h" #include "mp_msg.h" - -#define ROUND(x) ((int)((x)<0 ? (x)-0.5 : (x)+0.5)) +#include "mpcommon.h" static int do_action(const m_option_t* prop_list, const char* name, int action, void* arg, void *ctx) { -- cgit v1.2.3