diff options
author | wm4 <wm4@nowhere> | 2013-01-13 13:55:22 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-13 13:55:22 +0100 |
commit | ec57c94ba2333d08cad49be31ade353af46b5709 (patch) | |
tree | d3b70345be793d7c14b9d0cd47b6d17204fbbe7f /demux/demux.h | |
parent | 93d1bff4d3dc188307f85b435e402440e5408b5e (diff) | |
download | mpv-ec57c94ba2333d08cad49be31ade353af46b5709.tar.bz2 mpv-ec57c94ba2333d08cad49be31ade353af46b5709.tar.xz |
configure: remove __builtin_expect check
Change the only usage of HAVE_BUILTIN_EXPECT, demux.h, to use an #ifdef
instead. In theory, a configure check is better, but nobody does it this
way anyway, and we seek to reduce the configure script.
Diffstat (limited to 'demux/demux.h')
-rw-r--r-- | demux/demux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux.h b/demux/demux.h index 13500c0372..c1e6c3be1c 100644 --- a/demux/demux.h +++ b/demux/demux.h @@ -32,7 +32,7 @@ struct MPOpts; -#ifdef HAVE_BUILTIN_EXPECT +#if (__GNUC__ >= 3) #define likely(x) __builtin_expect((x) != 0, 1) #define unlikely(x) __builtin_expect((x) != 0, 0) #else |