Revert the removal of the likely/unlikely macros, they are still used.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27717 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-10-04 17:55:42 +00:00
parent 036b3d0c51
commit 6fb9d58116
1 changed files with 8 additions and 1 deletions

9
configure vendored
View File

@ -8112,8 +8112,15 @@ $_def_stream_cache
/* "restrict" keyword */
$_def_restrict_keyword
/* __builtin_expect branch prediction hint, libmpeg2 + FFmpeg */
/* __builtin_expect branch prediction hint */
$_def_builtin_expect
#ifdef HAVE_BUILTIN_EXPECT
#define likely(x) __builtin_expect ((x) != 0, 1)
#define unlikely(x) __builtin_expect ((x) != 0, 0)
#else
#define likely(x) (x)
#define unlikely(x) (x)
#endif
/* attribute(used) as needed by some compilers */
#if (__GNUC__ * 100 + __GNUC_MINOR__ >= 300)