From: David Conrad Date: Sat, 13 Feb 2010 09:25:56 +0000 (-0800) Subject: Use #ifdef instead of #if in checkasm X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=40dce15a622a82e6cce0e7233aa75831162635b1;p=x264.git Use #ifdef instead of #if in checkasm --- diff --git a/tools/checkasm.c b/tools/checkasm.c index 0bedc5b5..595bd9ee 100644 --- a/tools/checkasm.c +++ b/tools/checkasm.c @@ -1662,13 +1662,13 @@ static int check_all_flags( void ) cpu1 &= ~X264_CPU_CACHELINE_64; ret |= add_flags( &cpu0, &cpu1, X264_CPU_SSE4, "SSE4" ); } -#elif ARCH_PPC +#elif defined(ARCH_PPC) if( x264_cpu_detect() & X264_CPU_ALTIVEC ) { fprintf( stderr, "x264: ALTIVEC against C\n" ); ret = check_all_funcs( 0, X264_CPU_ALTIVEC ); } -#elif ARCH_ARM +#elif defined(ARCH_ARM) if( x264_cpu_detect() & X264_CPU_ARMV6 ) ret |= add_flags( &cpu0, &cpu1, X264_CPU_ARMV6, "ARMv6" ); if( x264_cpu_detect() & X264_CPU_NEON )