changeset 2535:b44113f46c96

cant compile on non x86 bugfix
author michael
date Mon, 29 Oct 2001 18:07:40 +0000
parents cc9d3fd626f0
children 6426007cad63
files postproc/rgb2rgb.c postproc/rgb2rgb_template.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/postproc/rgb2rgb.c	Mon Oct 29 18:00:45 2001 +0000
+++ b/postproc/rgb2rgb.c	Mon Oct 29 18:07:40 2001 +0000
@@ -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)
--- a/postproc/rgb2rgb_template.c	Mon Oct 29 18:00:45 2001 +0000
+++ b/postproc/rgb2rgb_template.c	Mon Oct 29 18:07:40 2001 +0000
@@ -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)