Mercurial > mplayer.hg
changeset 29659:ec016bdbae85
Replace manual gcc version check by AV_GCC_VERSION_AT_LEAST macro.
author | diego |
---|---|
date | Tue, 22 Sep 2009 14:38:49 +0000 |
parents | 6235d300cf7e |
children | 1331380992e2 |
files | libswscale/swscale_template.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/swscale_template.c Tue Sep 22 00:02:05 2009 +0000 +++ b/libswscale/swscale_template.c Tue Sep 22 14:38:49 2009 +0000 @@ -2496,7 +2496,7 @@ /* GCC 3.3 makes MPlayer crash on IA-32 machines when using "g" operand here, which is needed to support GCC 4.0. */ -#if ARCH_X86_64 && ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) +#if ARCH_X86_64 && AV_GCC_VERSION_AT_LEAST(3,4) :: "m" (src1), "m" (dst), "g" (dstWidth), "m" (xInc_shr16), "m" (xInc_mask), #else :: "m" (src1), "m" (dst), "m" (dstWidth), "m" (xInc_shr16), "m" (xInc_mask),