diff --git a/postproc/rgb2rgb.c b/postproc/rgb2rgb.c index 4ddb7d769d..3417afe0a7 100644 --- a/postproc/rgb2rgb.c +++ b/postproc/rgb2rgb.c @@ -6,7 +6,7 @@ #ifdef HAVE_3DNOW #define PREFETCH "prefetch" #define PREFETCHW "prefetchw" -#elif HAVE_MMX2 +#elif defined ( HAVE_MMX2 ) #define PREFETCH "prefetchnta" #define PREFETCHW "prefetcht0" #endif diff --git a/postproc/rgb2rgb_template.c b/postproc/rgb2rgb_template.c index 4ddb7d769d..3417afe0a7 100644 --- a/postproc/rgb2rgb_template.c +++ b/postproc/rgb2rgb_template.c @@ -6,7 +6,7 @@ #ifdef HAVE_3DNOW #define PREFETCH "prefetch" #define PREFETCHW "prefetchw" -#elif HAVE_MMX2 +#elif defined ( HAVE_MMX2 ) #define PREFETCH "prefetchnta" #define PREFETCHW "prefetcht0" #endif