summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
Diffstat (limited to 'demux')
-rw-r--r--demux/demux.h2
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