diff libmpcodecs/vf_unsharp.c @ 28290:25337a2147e7

Lots and lots of #ifdef ARCH_... -> #if ARCH_... and #ifdef HAVE_MMX etc -> #if HAVE_MMX. There might be still more that need to be fixed.
author reimar
date Fri, 16 Jan 2009 09:21:21 +0000
parents 08d18fe9da52
children df67d03dde3b
line wrap: on
line diff
--- a/libmpcodecs/vf_unsharp.c	Fri Jan 16 08:45:35 2009 +0000
+++ b/libmpcodecs/vf_unsharp.c	Fri Jan 16 09:21:21 2009 +0000
@@ -192,11 +192,11 @@
     
     vf_clone_mpi_attributes(dmpi, mpi);
     
-#ifdef HAVE_MMX
+#if HAVE_MMX
     if(gCpuCaps.hasMMX)
 	__asm__ volatile ("emms\n\t");
 #endif
-#ifdef HAVE_MMX2
+#if HAVE_MMX2
     if(gCpuCaps.hasMMX2)
 	__asm__ volatile ("sfence\n\t");
 #endif