summaryrefslogtreecommitdiffstats
path: root/gst/goom/mmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/goom/mmx.c')
-rw-r--r--gst/goom/mmx.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/gst/goom/mmx.c b/gst/goom/mmx.c
index 4cee0acb..73546a89 100644
--- a/gst/goom/mmx.c
+++ b/gst/goom/mmx.c
@@ -1,6 +1,10 @@
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
-#if defined (HAVE_CPU_I386) || defined (HAVE_CPU_X86_64)
+#include "goom_config.h"
+
+#ifdef HAVE_MMX
#define BUFFPOINTNB 16
#define BUFFPOINTMASK 0xffff
@@ -252,5 +256,10 @@ end_of_line:
emms ();
/* __asm__ __volatile__ ("emms"); */
}
-
-#endif /* HAVE_CPU_I386 || HAVE_CPU_X86_64 */
+#else
+int
+mmx_supported (void)
+{
+ return (0);
+}
+#endif /* HAVE_MMX */