cant compile on non x86 bugfix
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 29 Oct 2001 18:07:40 +0000 (18:07 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 29 Oct 2001 18:07:40 +0000 (18:07 +0000)
Originally committed as revision 2536 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

postproc/rgb2rgb.c
postproc/rgb2rgb_template.c

index 60d3d13..02f6ba1 100644 (file)
@@ -1,7 +1,9 @@
 #include <inttypes.h>
 #include "../config.h"
 #include "rgb2rgb.h"
+#ifdef HAVE_MMX
 #include "mmx.h"
+#endif
 #include "../mmx_defs.h"
 
 void rgb24to32(uint8_t *src,uint8_t *dst,uint32_t src_size)
index 60d3d13..02f6ba1 100644 (file)
@@ -1,7 +1,9 @@
 #include <inttypes.h>
 #include "../config.h"
 #include "rgb2rgb.h"
+#ifdef HAVE_MMX
 #include "mmx.h"
+#endif
 #include "../mmx_defs.h"
 
 void rgb24to32(uint8_t *src,uint8_t *dst,uint32_t src_size)