summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-03-19 18:39:08 +0000
committerTim-Philipp Müller <tim@centricular.com>2018-03-19 18:39:08 +0000
commit56577236f8b0ca0735c1d58e92073e6d810d14db (patch)
treeab62980e23dcdfa63c0ff88c90ed2b87bb119422
parent42f5f3d1bead3a88eb687f150428876c794de8c9 (diff)
rtpulpfecdec: fix build with older gcc
As on Ubuntu Trusty. https://bugzilla.gnome.org/show_bug.cgi?id=794493
-rw-r--r--gst/rtp/gstrtpulpfecdec.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/rtp/gstrtpulpfecdec.c b/gst/rtp/gstrtpulpfecdec.c
index 7b1345164..a24dd5138 100644
--- a/gst/rtp/gstrtpulpfecdec.c
+++ b/gst/rtp/gstrtpulpfecdec.c
@@ -278,9 +278,8 @@ gst_rtp_ulpfec_dec_recover_from_storage (GstRtpUlpFecDec * self,
/* __has_builtin only works with clang, so test compiler version for gcc */
/* Intel compiler and MSVC probably have their own things as well */
-#if defined(__has_builtin) && __has_builtin(__builtin_ctzll)
-#define rtp_ulpfec_ctz64 __builtin_ctzll
-#elif defined(__GNUC__) && __GNUC__ >= 4
+/* TODO: make sure we use builtin for clang as well */
+#if defined(__GNUC__) && __GNUC__ >= 4
#define rtp_ulpfec_ctz64 __builtin_ctzll
#else
static inline gint