]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
build: check for gcc version independent of platform
authorNatanael Copa <ncopa@alpinelinux.org>
Tue, 4 Mar 2014 11:56:33 +0000 (11:56 +0000)
committerNatanael Copa <ncopa@alpinelinux.org>
Tue, 4 Mar 2014 12:01:59 +0000 (12:01 +0000)
commitdb29bca26bbc84585b7d5acc4a42d7a1ba92550a
tree685b065b9cff6dc13c21655acdc8ccb428ddafaa
parent215789651ce2451d77dff39d9cdd8c00203443ef
build: check for gcc version independent of platform

Use the gcc specific __GNUC__ and __GNUC__ minor to determine gcc version
rather than using the GNU libc specific __GNUC_PREREQ.

This fixes the following compile error with musl libc:
src/descrambler/capmt.c:79:18: error: missing binary operator before token "("
 #if __GNUC_PREREQ(4, 3)
                  ^
src/descrambler/capmt.c