mirror of
https://github.com/mpv-player/mpv
synced 2025-02-21 23:36:58 +00:00
Do not duplicate likely/unlikely #defines from libmpeg2/libavcodec in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27707 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6e916bbf28
commit
02c93f7b98
7
configure
vendored
7
configure
vendored
@ -8033,13 +8033,6 @@ $_def_restrict_keyword
|
||||
|
||||
/* __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)
|
||||
|
Loading…
Reference in New Issue
Block a user