From e3b560f0a9f71b95982c6f502b0feb8f3b11ab08 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Wed, 9 Jul 2003 11:52:10 +0000 Subject: [PATCH] only compile this code if USE_MMX is defined. 2003-07-10 Sven Neumann * app/composite/gimp-composite-mmx.c: only compile this code if USE_MMX is defined. --- app/composite/gimp-composite-mmx.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/composite/gimp-composite-mmx.c b/app/composite/gimp-composite-mmx.c index 02585e0627..307fc99e19 100644 --- a/app/composite/gimp-composite-mmx.c +++ b/app/composite/gimp-composite-mmx.c @@ -40,6 +40,8 @@ #include "gimp-composite-mmx.h" +#ifdef USE_MMX + #undef USE_SSE #ifdef USE_SSE @@ -2441,8 +2443,11 @@ xxxgimp_composite_valueonly_va8_va8_va8_mmx(GimpCompositeContext *_op) } #endif +#endif /* USE_MMX */ + void gimp_composite_mmx_init() { } +