--- Revision 4512 +++ Revision 5302 @@ -26,8 +26,8 @@ #include #include "callweaver/lock.h" -#include "callweaver/compiler.h" + /*! \file * \brief A set of macros implementing objects and containers. * Macros are used for maximum performance, to support multiple inheritance, @@ -220,7 +220,7 @@ do { \ int newcount = 0; \ ASTOBJ_WRLOCK(object); \ - if (__builtin_expect((object)->refcount > 0, 1)) \ + if ((object)->refcount > 0) \ newcount = --((object)->refcount); \ else \ cw_log(CW_LOG_WARNING, "Unreferencing unreferenced (object)!\n"); \