]> git.videolan.org Git - x264.git/commitdiff
Use #ifdef instead of #if in checkasm
authorDavid Conrad <lessen42@gmail.com>
Sat, 13 Feb 2010 09:25:56 +0000 (01:25 -0800)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Mon, 15 Feb 2010 09:00:04 +0000 (01:00 -0800)
tools/checkasm.c

index 0bedc5b58ff078c9bf6cf188ce13a07871aa5539..595bd9ee208811f36b7e7426bd28c707efa0b35d 100644 (file)
@@ -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 )