Commit 56577236 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

rtpulpfecdec: fix build with older gcc

As on Ubuntu Trusty.

https://bugzilla.gnome.org/show_bug.cgi?id=794493
parent 42f5f3d1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment